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()
 

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