Hi!
Try following (not verified):
DECLARE INTEGER GetActiveWindow IN WIN32API
DECLARE INTEGER ShellExecute IN WIN32API INTEGER, STRING @, STRING @, INTEGER, INTEGER, INTEGER
lcFileName = "MyFile.EXE"+chr(0)
ShellExecute(GetActiveWindow(),"OPEN",lcFileName,0,0,0)'
>after reading the help files, I still dont get it,.
>can anyone post a sample of how to call the shell execute function.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.