|
-
Oct 28th, 2005, 06:27 AM
#1
Thread Starter
Addicted Member
How can I tell if the program is already running?
I need to make sure that there is ONE only ONE instance of my app is running
App.PrevInstance only checks for previous instances within the current session.
I need to make sure that there is only one instance across ALL users.
Listing processes in the TaskManager might be an option but are there any other methods?
I thought about settting a flag in a common file which clears when the app stops, but I don't want to do that because it might not get cleared if the program exits ubnormally.
Another light-hearted post from Guru 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|