Hi,
I am looking for a method to prevent user to run the application if one instance of application is already running.
I guess it must be easy, but I just can't find it on the web.
Thanks.
Printable View
Hi,
I am looking for a method to prevent user to run the application if one instance of application is already running.
I guess it must be easy, but I just can't find it on the web.
Thanks.
You can check process names or use a mutex to see if another instance is running:
http://www.codeproject.com/csharp/re..._instances.asp
If this is your own application, you can make it a single instance app in your project property.
Thanks Guys