Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent a .NET program for starting if the .exe is in us
Message
De
24/03/2017 04:16:03
 
 
À
23/03/2017 22:02:59
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01649285
Message ID:
01649290
Vues:
51
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform