>I am using Vfp6 and would like to run another Fpw26 exe to do some work on some older files. How do I stop my Vfp6 app from continueing while the old program is running ? Is this where I would use Shellexecute and what is the syntax ?
>TIA
>Cheers
>JohnYou can also use WSH and tell it to wait.
#define SW_SHOW_NORMAL 1
#define SW_SHOW_MINIMIZED 2
#define SW_SHOW_MAXIMIZED 3
oShell = createobject("WScript.Shell")
oShell.Run("myold.exe",SW_SHOW_NORMAL,.T.)