Close and restart program

  • Thread starter Thread starter Rinaldo
  • Start date Start date
R

Rinaldo

How to shutdown a program and restart it again whitin the program?

Rinaldo
 
Hi,

Simply start a new instance of the program and use a command line arg with
the ID of the old process, at startup if a process ID was passed as a
parameter just do Process.Kill the old process.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top