Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
External Program Already Running?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00052772
Message ID:
00052833
Views:
36
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform