General information
Title:
Only Run Once Instance
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only