Multi instance


hello

i must create app can run multiple instance of exe running @ same time. 

can give me small sample using c#.net.

thank you


clau

reed copsey show how run multiple process/exe single program. it's better approach.

however, can try minor modification in main method accept parameters command line follows.

[stathread] static void main(string[] args) {     if (args != null) {         foreach (string arg in args) {             //use args         }     } }

you may use .bat file run .exe different args.

for example

testinstall.exe 'configfile1'
testinstall.exe 'configfile2'
testinstall.exe 'configfile3'

avik das



Visual Studio Languages  ,  .NET Framework  >  Visual C#



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'