Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to tell if a VFP app is running from within a FPW ap
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00341681
Message ID:
00341690
Views:
25
Gerard,

You might check the program() function, although I doubt it will work for FPW calling the exe.

You can use the FindWindow API function. Go to the W i k i and do a search for it I've got an example there.

>I have a VFP app which calls a VFP app.
>Now, I only want to do this if the VFP app is not already running.
>
>Is there some way I can identify if a VFP app is running from my FPW app.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform