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
25/03/2017 00:11:19
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01649285
Message ID:
01649318
Views:
35
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform