PDA

View Full Version : show img if application installed??


Rashka
03-20-2009, 08:34 AM
Hi there,

is it possible to set a script that only show f.e. the Skype Icon if Skype is installed and set it invisible if it is not?

And how do i "read" the path to the f.e. skype.exe from registry and set ist to a file.open script?

hope you can help me.
regards
Rashka

jackdaniels
03-20-2009, 08:39 AM
Here that will show or hide the Image...

Skype = Registry.DoesKeyExist(HKEY_LOCAL_MACHINE, "Software\\Policies\\Skype\\Phone");

if Skype then
Image.SetVisible("Image1", true);
else
Image.SetVisible("Image1", false);
end