>Cetin,
>
>Can you give me example of how to call this Method from another form or .PRG file (passing in extension).
>
>Fred Z
lCExecutable = GetExecutable('doc')
? lcExecutable
But as I said in first reply I'm not clear what you're trying to do. This would return the exe name associated with an extension. If you don't really need executable's name use :
-Wscript.Shell as George suggested if you need to wait for it to finish.
-If you don't need to wait for that app to finish then use ShellExecute().
Cetin