Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Only open application once
Message
 
To
26/11/2001 09:18:11
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00585701
Message ID:
00585708
Views:
16
Kevin,
Here's some sample code(very simple):
Declare Integer FindWindow in Win32API Integer,String
wclass=0
winname="Microsoft Visual Foxpro"
apphand=FindWindow(wclass ,winname)
IF apphand=0
* no other instances found
>Hi
>
>I need an app to only be run once at one time.
>
>What's the best way to detect if a VFP app is already running ?
>
>Thanks
>Kev
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform