Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine if an external app is running!
Message
From
29/05/1997 11:11:51
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00034052
Message ID:
00034055
Views:
26
>I think there was a thread on this subject a few days ago. I missed that. Can somebody kindly repost the solution? I am looking for a way to determine, from within VFP, if another Windows application is running or not. If the app is not running, then I want to start it up.
>
>Thanks a lot

Probably, I missed that thread too. But you could use FindWindow Api call:
DECLARE INTEGER FindWindow IN win32api INTEGER,STRING
if FindWindow(0,cApptitle)>0
=messagebox("app running")
else
RUN app.exe
endif
CLEAR DLLS
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform