Click here to Skip to main content
14,695,085 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Good day to all,
After i have installed my program on another PC, everything was working perfectly except when i want to update the data base record i am facing this error:

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately

What should i have done?

1 solution

Use try...catch blocks or handle your program entry point AppDomain.CurrentDomain.UnhandledException and write the exception to a text file so you can find out where your code is failing and you can fix it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900