Jeff,
I thought that unless you specified the /N (Nowait) option of the run command then it waited for the other program to finish?
>Hi,
>
>I have a Fox (6.0) application which calls another piece of software by using the standard RUN command. I need to halt the code until this external software has closed itself down, therefore I want to place a timer on my form to check intermitantly for the existence of the software.
>
>Is there a standard API method for checking for existence of an open window external to Fox? All I think I need is to find a function where I can pass the window name and have its file handle returned, or 0/-1 etc. if not found.
>
>Any help appreciated as always.
>
>Regards
>
>Jeff
Caroline