>Patrick,
>I've had a look at this site. It seems to say you can only do this form VFP.
>Do you know if it can be run from a FPW app.
>regards,
>
>Gerard
>
>
>
>>>Hi.
>>>I need to run a VFP application from within FPW, but want the FPW app to wait until the VFP app has finished. The 'RUN' command is asynchronous , so the minute it starts, control goes back to the FPW app.
>>>
>>>I've seen refernces here to Windows Shell scripting ,which might do the job, Has anybody any ideas of how this nmight work.
>>>
>>>Regards,
>>>
>>>Gerard
>>
>>
>>follow this link to microsoft knowledge base. works perfectly.
>>(sorry, this was not pasted as an active link).
>>
>>
http://support.microsoft.com/support/kb/articles/Q191/5/84.ASP?LN=EN-US&SD=gn&FR=0&qry=RUN%20WAIT&rnk=42&src=DHCS_MSPSS_gn_SRCH&SPR=FOX>>
>>the title of the article is HOWTO: Determin When a 32-bit Process has Completed.
Yeah, i see it only mentions versions of FoxPro back to 3.0 ,
so I couldn't guarantee it would work in earlier versions.
It is, however fairly easy to implement, so it wouldn't
cost a whole lot in terms of time to try it. I have very
little experience with FoxPro prior to version 3.0, but if you
were able to declare and run dll functions in FP < 3.0, you
should be able to run these API routines.
patrick