>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=FOXthe title of the article is HOWTO: Determin When a 32-bit Process has Completed.
patrick