Is there a globe error catch method?

Normally I catch error using the code below

try
{
...
}
catch (Exception e)
{
...
}

but somtimes some errors haven't been catched, It cause the whole program crash.

In delphi there is a component named ApplicationEvents, all errors which haven't been catched by user will
be catched by ApplicationEvents.

[373 byte] By [CUIWEI] at [2007-12-16]
# 1
Hi,

Yes there is. This has been answered here with code samples.
http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=53354

Regards,
Vikram

Vikram at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...