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
 
À
23/03/2017 19:02:39
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01649285
Message ID:
01649317
Vues:
54
>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

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform