Thanks , It worked gr8.
Thanks again.
Regards,
Aashish
>>Dear friends,
>>
>>I wish to run a exe file from VFP7 which is possible through
>>run / ! / _shellexecute from FFC System Utillities.
>>
>>Problem is : I want to hold the program from executing any furthere till the user terminates the external program.
>>
>>For example:
>>
>>Run/N calc.exe
>>
>>Wait Window "After Calc is Crossed"
>>
>>The wait window should only come once the Calc application is crossed / terminated.
>>
>>Any ideas ?
>>
>>Thanks
>>
>Aashish,
>
oShell = CREATEOBJECT("WScript.Shell")
>oShell.Run("Calc.exe", 5, .T.)
>Wait Window "After Calc is Crossed"