Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect if an instance of your application is already run
Message
From
16/05/2002 09:39:16
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00657318
Message ID:
00657382
Views:
24
>IF SET('RESOURCE') = 'OFF'
> MESSAGEBOX('Another WinPos program is already running.',16,"Ahead Point Of Sales")
> QUIT
>ENDIF
>
>I usually use the above code, but in vfp7 its not working anymore. Any suggestion to work this arround.

It doesn't work in VFP 7 because the resource file is opened shared rather than exclusive.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform