Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27348

VS 2010 Start new instance unless command line args are present

$
0
0
I can set the project to be a single instance app, and I can get the command line arguments, but if there are no arguments I need a new instance of the application started up. If however there are arguments passed I would process them in already running instance.

Is there a way in the application's StartupNextInstance handler to launch a new instance if there are no arguments or some other way to do what I am looking for?
thanks
kevin

Viewing all articles
Browse latest Browse all 27348

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>