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
 
To
23/03/2017 19:02:39
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01649285
Message ID:
01649317
Views:
53
>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform