Hello!
I have a .NET C# WPF application that I am trying to make into a single-instance application using a Mutex.
This .NET application is called by a C++-based DLL using CreateProcessAsUser() and is given parameters via environment variables.
Subsequent instances will also be created by the C++ DLL in the same way.
Subsequent ins...
I want to check when the user double click on applictaion icon that no another instance of this application is already running.
I read about My.Application but i still don't know what to do.
...
I have a WCF service with single instance. I have consume it in silverlight and windows forms also. It's working fine in silverlight application but in windows it not create an service object. it tell me 3 parameters in service method. like
InstanceContext, EndPoint, Binding
the 2nd and 3rd argument I have passed but 1st argument what...
I have a C# app that is launched via command line. Usually data is pass through the command line such as add (app -a string). I would like only ONE instance of the app to be opened and if more strings are added via command line i would like the single instance to know about it and update itself. I can either put the data into the databas...
I have a program that works when, a file is opened with it using the right click menu in explorer. But if I select multiple files and then right click and open with my program then it opens multiple instances of my program, instead of just passing the multiple files as arguments to a single instance. The program is written in vb.net but ...
I use a Console Application in Windows Mobile to handle incoming message interception. In the same console application i accept parameters (string args[]) which based on the parameters, register the message interceptor.
InterceptorType is a enum
static void Main(string[] args)
{
if (args[0] == "Loc...