PDA

View Full Version : Restarting app


Bruce
01-21-2008, 04:43 PM
Is there a way to restart your app, you know, kill it and restart it again right away?

RizlaUK
01-21-2008, 05:21 PM
just call file.run b4 you exit the app, you could pass a argument to the app to tell it that its been restarted

FoxLeader
01-21-2008, 09:30 PM
So simply

File.Run("autorun.exe", etc )
Application.Exit(0);

Yeah, "etc" replaces the other options for that code, I'm a bit lazy :lol

Bruce
01-21-2008, 11:22 PM
thx guys!!!!