How to Halt a program.

  • Thread starter Thread starter Jesper
  • Start date Start date
J

Jesper

Hi,

If I catch an exception that indicates that a program
can't continue, how do I break the execution and
close/stop the program.

brgds Jesper.
 
Well, you could always throw a new (application)exception caugh with a
try/catch around Application.Run()
 
Back
Top