On Mar 19, 11:55 am, "Ignacio Machin \( .NET/ C# MVP \)" <machin TA
laceupsolutions.comwrote:
Hi,
"james" <james.w...@gmail.comwrote in message
news:11**********************@n76g2000hsh.googlegr oups.com...
Is there any way to use Application.Restart() with new command line
options? In the documentation on msdn they say Application.Restart()
reuses the original arguments.
Well, you could spawn a new process passing the arguments you need and
terminating the original process.
Hmph... any idea how I could do this correctly? Our application only
lets one instance run at a time, so I would need to restart it after
the first instance closes... and I guess that would require another
project?