views:

163

answers:

1

In my .Net 3.5 Compact Framework app I recently added an unhandled exception handler. I did it just so I could add the error to our log file and reboot the system. In certain modes I want to display the error to the user. I find that the messagebox is far inferior for error display than the dialog the CLR would use if I didn't catch the exception.

Is there any way I can get to that dialog and show it to the user or is it private and hidden deep in the CLR?

A: 

We wrote our own dialog for this case. The user can expand a hidden TextBox with additional information such as the StackTrace etc.

In my opinion the out-of-the-box MessageBox on WindowsCE and Windows Mobile is not usable in most cases.

Louis Haußknecht