Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Allow only one session of Application on PC
Message
From
14/06/2004 13:30:19
 
 
To
14/06/2004 13:25:53
Sammy Derban
Ghana Telecom
Accra, Ghana
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00913558
Message ID:
00913562
Views:
13
A simple and quick way to do this is to use the WEXIST() function. So if the caption of your main window of your app is 'My App', you would do something similar to this in your startup program.
IF WEXIST('My App')
   QUIT && Quit the app, already running
ENDIF
Previous
Reply
Map
View

Click here to load this message in the networking platform