>I've spent a bit looking for an answer to this in UT...I'm pretty sure
>I've seen this question asked before, but darned if I can find it. So,
>how can I tell if an external program is already running? For example,
>the windows calculator? I need to make sure that that program isn't running
>before I issue a "RUN /N CALC.EXE" from my app.
Michael,
Check the Files - Download/Win32 and other APIs for Is_Run.zip, which I've just recently posted (with help from Michel). It will return the window handle so you can manipulate it with ShowWindow(). Two functions are included: Is_Run (for FPW and VFP 3. under Win 3.1) and Is_Run32 (for VFP under Win95 or NT 3.51 or higher).
George
George
Ubi caritas et amor, deus ibi est