M
mdb
Anyone have a suggestion for how to restart my appliacation when I exit?
I'm not talking about a looping batch file - I need my program to have the
ability to restart or not restart. Also, I can't just use Process.Start
because the program is a single-instance program, and I can't guarantee how
long the shutdown process will take (possibly a few seconds). I suppose I
could pass a parameter to the program in Process.Start to bypass the single
instance check, but I guess I'm looking for a more elegant solution, if it
exists...
-mdb
I'm not talking about a looping batch file - I need my program to have the
ability to restart or not restart. Also, I can't just use Process.Start
because the program is a single-instance program, and I can't guarantee how
long the shutdown process will take (possibly a few seconds). I suppose I
could pass a parameter to the program in Process.Start to bypass the single
instance check, but I guess I'm looking for a more elegant solution, if it
exists...
-mdb