Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Only Run Once Instance
Message
From
20/11/2003 12:45:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
Only Run Once Instance
Miscellaneous
Thread ID:
00851959
Message ID:
00851959
Views:
50
Hi,

I have an application (written in VFP6) that I need to keep secure and have only ONE instance of it running on any given workstation. I have a temporary solution as to where I create a file in the default directory to let the application know that it is running. When a user tries to open another instance of this application, it will see this file and tell the user that another instance is already running. When I close the application, this file gets renamed or deleted. The problem lies when the program is abruptly shut down (power off, unplugged) the files never gets renamed or deleted. SO when the PC is powered back up, the user gets the message that this program is already running. Anu ideas on how to handle this situation better? Thank you.

Tim
Next
Reply
Map
View

Click here to load this message in the networking platform