I have created a program that I have released online. I have tried to handle all the exception
, but sometimes the program still has crashes. But when I reproduce the crash on my side, it says:
"Unhandled exception has occurred in your application".
The users of my program see "The program has encountered a problem" and a little bar comes up with text above it "Looking for solution".
Do I see a different window to the users because I have the full development environment installed and they just have the runtime? And is there a way to save the DEV state of the program when it crashes or bring up a message saying: "The program has crashed, would you like to send details to the developer" or something like that?
I would suggest adding event handlers to Application.ThreadException
and AppDomain.CurrentDomain.UnhandledException
to implement general error handling there.