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.
 
Back
Top