views:

115

answers:

2

Is there a way to restart a windows application written in dot net using dot net code

I mean the application should exit and restart itself, on click of a button

+6  A: 

Application.Restart() is your method :)

Here is another StackOverflow answer that points out a couple of "watch-out-for's" with using this method.

STW