Morning all,

I have an application and does a number of things i.e. runs in different modes. The mode is specified at command line level i.e. flag on the .exe shortcut.

Thing is only one instance of the app must run for each mode. Is there any way I can make the app detect another instance of the app running with the same mode?

In Task Manager the multiple instances of the app are listed with the same name.

Thanks in advance for any solutions :-)