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
From
05/03/2000 07:24:09
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00341681
Message ID:
00341836
Views:
30
>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.
>
>Regards,
>
>Gerard
Hi Gerard,

Declare integer FindWindow IN Win32API ;
string cbuffer, string winname
w=0
yourappname="My app" * write here your app name
r=FindWindow(w ,yourappname)
If r <> 0
wait "App is allready running."
Endif
Previous
Reply
Map
View

Click here to load this message in the networking platform