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
25/03/2017 00:11:19
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01649285
Message ID:
01649318
Vues:
36
>>Can that be done?
>>How?
>
>Not sure about Michel's option cause I don't see that for any of my projects. Maybe VB only option?
>
>You can use mutex and if necessary some inter application communication to send things like command line parameters to an already running instance
>
>Wrote a blog post about this a while back:
>
>Creating Single Instance WPF Applications that open multiple Files
>https://weblog.west-wind.com/posts/2016/May/13/Creating-Single-Instance-WPF-Applications-that-open-multiple-Files

Yes. Seems to be VB only.
I found a link that instantiates VB to do that but it looks kludgy.
Mutex seems to be the way. It looks really foreign though, so it will take a fresh mind.
Definitely morning work.


>
>+++ Rick ---
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform