>Graig:
>Have you ever noticed that when implementing "RUN/N" for a DOS EXE (and if the DOS EXE does some file work), that the VFP program continues through, even though the DOS EXE file service has not completed? IOW: If the VFP app expects a file immediately after "RUNning /N MyDOS.exe", in some cases, that "DOS" file may not be ready.
Terry,
PMFJI, but this is standard behavior in Win32, which is a pre-emptive multi-tasking OS. If you need to know when a process complete's there are two possibilites: 1. Ed Rauh has placed a file here (API_APPRUN) that can do this; and 2. The Windows Script Host's Shell object has a Run method that will wait until the app terminates.
>A follow up: How can we determine if CREATEOBJECT() will service executing other apps on the desktop?
I'm not sure what you mean here.
George
Ubi caritas et amor, deus ibi est