- Nov 28, 2008
- Programming Experience
How do i get the argument from and 2nd instance in a single instace app? I tried to catch it in MyApplication_StartupNextInstance. But the e.commandLine or the AppDomain.CurrentDomain.SetupInformation.ActivationArguments.ActivationData seems to be null. I use "Appname.appref-ms" 123 to send 123 as the argument but how do i recieve it?