Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Windows Application closes on exception errors

$
0
0

I have a windows form application.

But when an error occurs the applicaiton shuts down. Even when I put a Try ... Catch and a message in the Catch and that is all. THe applicaiton will show the message and then shut down the applicaiton.

I would like to prevent the applicaiton from shuting down so that the user doesn't  has to re-login. I would like the application to display the error message to the user but then allow me to move the code to where I want in the application so the user can try to do the procedure again.

Hope this makes since.

Thank you


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>