I'm having trouble with the RUN command in VFP 5.0. I am attempting to call another windows app but I do not want the next line in my VFP program to execute until the called program has run and completed. I have tried to play with the PIF properties (checking "close on exit" for foxrun.pif. It seems that no matter what parms I include or exclude in the Run command the results are the same. I have also tried - RUN "start /w programxxx.exe" - but the /w wait parm hangs up the foxrun pif which requires user intervention to continue. If this makes sense to anyone out there and you have a tip on how I might solve this problem please let me know.
Thanks [sig][/sig]
Thanks [sig][/sig]