Exception Handling

  • Thread starter Thread starter Stephany Young
  • Start date Start date
S

Stephany Young

Given that the Application.ThreadException event is not supported by the
..NET Compact Framework, has anybody managed to come up with a strategy for
global (call it what you will) handling of otherwise unhandled exceptions?
 
The only think I can think of is to wrap your top level code in Try blocks.
This is easy if your program starts with Sub Main, harder if it starts with
a form - you'd have to wrap each Form event handler in a Try block.
 

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