PDA

View Full Version : Detecting MpgPlayer.exe file



Svein Gabrielsen Lunde
09-17-2001, 02:24 PM
I need help please. I manage to make Search For File action that search fore MpgPlayer.exe file.
But I do not manage to hide a ”Install MPEG Player text box”, if AutoPlay detect that the end user has a MpgPlayer.exe file installed.

Can anyone explain how to do this?

Thanks

Darryl
09-19-2001, 01:57 PM
When you have searched for the MpgPlayer.exe file, you had likely stored the "full path" in the variable(if it is found) and put a default of something else, lets say you left it blank. After you have perfomed the search for the file, you want to go to Page Properties. Here you want to have a HIDE OBJECT Action(Text Box Object) with a condition based on the outcome of that variable.
You want to hide the text if the executable was found. Therefore the condition would be:
%SearchVar% not equal
Where the second value is blank.

This will Hide the Object if the executable is found.

Hope this helps.

------------------
Sincerely,

Darryl Hnatiuk
Indigo Rose Corporation

[This message has been edited by Darryl (edited 09-19-2001).]