Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent a .NET program for starting if the .exe is in us
Message
From
24/03/2017 04:16:03
 
 
To
23/03/2017 22:02:59
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01649285
Message ID:
01649290
Views:
50
>>>Can that be done?
>>>How?
>>
>>Click on "Project\[Project] properties\Application\Windows application framework properties\Make single instance application".
>
>Thank you, Michel.
>I'll check that out

I think that's a VB only option. The standard way is to use a mutex. Example here (with a few options on how to handle attempts to open a second instance):
http://sanity-free.org/143/csharp_dotnet_single_instance_application.html
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform