Hi
Use could use the shellexecute api, here is a sample snippet of code
Declare INTEGER FindWindow IN "user32" String strClassName, INTEGER lpWindowName
Declare INTEGER ShellExecute IN "Shell32" Integer hWnd , String lpszOp ,String lpszFile ,String lpszParams , String lpszDir ,Integer fsShowCmd
? ShellExecute(0, "Open", "c:\MY DOCUMENTS\PKZIP.EXE", "", "", 0)
wait wind "no show"
? ShellExecute(0, "Open", "c:\MY DOCUMENTS\PKZIP.EXE", "", "", 1)
wait wind "normal"
? ShellExecute(0, "Open", "c:\MY DOCUMENTS\PKZIP.EXE", "", "", 2)
wait wind "minimised"
? ShellExecute(0, "Open", "c:\MY DOCUMENTS\PKZIP.EXE", "", "", 3)
wait wind "maximised"
?FindWindow("tty",1)
?FindWindow("tty",0)
hope this helps
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only