Click here to Skip to main content
15,919,479 members
Home / Discussions / C#
   

C#

 
GeneralRe: Quick Question Pin
Nick Parker28-May-02 18:57
protectorNick Parker28-May-02 18:57 
GeneralRe: Quick Question Pin
James T. Johnson28-May-02 19:09
James T. Johnson28-May-02 19:09 
GeneralUnhandledExceptionEventHandler Pin
Vanclei28-May-02 9:04
Vanclei28-May-02 9:04 
GeneralRe: UnhandledExceptionEventHandler Pin
Rama Krishna Vavilala28-May-02 11:42
Rama Krishna Vavilala28-May-02 11:42 
GeneralRe: UnhandledExceptionEventHandler Pin
James T. Johnson28-May-02 14:58
James T. Johnson28-May-02 14:58 
GeneralRe: UnhandledExceptionEventHandler Pin
Nick Parker29-May-02 2:12
protectorNick Parker29-May-02 2:12 
GeneralRe: UnhandledExceptionEventHandler Pin
Nick Parker28-May-02 17:01
protectorNick Parker28-May-02 17:01 
GeneralRe: UnhandledExceptionEventHandler Pin
James T. Johnson28-May-02 19:14
James T. Johnson28-May-02 19:14 
The UnhandledExceptionEventHandler is an event on the Application object that is triggered when an application hasn't handled an exception.

If you execute some code and it throws an exception; normally you get a dialog box telling you that an exception wasn't caught and some debugging information; THEN it will fire the event handler. What the original poster wants to do is get rid of that dialog box so it only executes his event handler.

It is usually used in a last ditch effort to save some data or to do some error reporting.

The question you were answering was how to catch multiple exceptions from a block of code; his question is basically how to catch any unhandled exception from any block of code. Smile | :)

James

Simplicity Rules!
GeneralRe: UnhandledExceptionEventHandler Pin
Nick Parker29-May-02 1:39
protectorNick Parker29-May-02 1:39 
GeneralRe: UnhandledExceptionEventHandler Pin
Rama Krishna Vavilala29-May-02 4:18
Rama Krishna Vavilala29-May-02 4:18 
GeneralRe: UnhandledExceptionEventHandler Pin
Nick Parker29-May-02 5:08
protectorNick Parker29-May-02 5:08 
QuestionCan I do multiple selection onDatagrid in WinForms? Pin
28-May-02 5:34
suss28-May-02 5:34 
Generalcreate xml for collection class Pin
sharon28-May-02 1:58
sharon28-May-02 1:58 
GeneralRe: create xml for collection class Pin
James T. Johnson28-May-02 8:33
James T. Johnson28-May-02 8:33 
GeneralRe: create xml for collection class Pin
sharon28-May-02 19:15
sharon28-May-02 19:15 
QuestionWhat the ¤#& is the use of Interfaces!!! Pin
Rickard Andersson2028-May-02 1:28
Rickard Andersson2028-May-02 1:28 
AnswerRe: What the ¤#& is the use of Interfaces!!! Pin
Nish Nishant28-May-02 4:02
sitebuilderNish Nishant28-May-02 4:02 
AnswerRe: What the ¤#& is the use of Interfaces!!! Pin
James T. Johnson28-May-02 8:27
James T. Johnson28-May-02 8:27 
GeneralRe: What the ¤#& is the use of Interfaces!!! Pin
Nish Nishant28-May-02 14:47
sitebuilderNish Nishant28-May-02 14:47 
GeneralRe: What the ¤#& is the use of Interfaces!!! Pin
James T. Johnson28-May-02 14:53
James T. Johnson28-May-02 14:53 
GeneralScaling a transparent 256 colors gif or png with GDI+ Pin
27-May-02 22:33
suss27-May-02 22:33 
GeneralRe: Scaling a transparent 256 colors gif or png with GDI+ Pin
James T. Johnson28-May-02 8:29
James T. Johnson28-May-02 8:29 
GeneralRe: Scaling a transparent 256 colors gif or png with GDI+ Pin
Todd Smith30-May-02 7:11
Todd Smith30-May-02 7:11 
QuestionHow can I use the libraries on runtime? Pin
Vu Truong27-May-02 22:10
Vu Truong27-May-02 22:10 
AnswerRe: How can I use the libraries on runtime? Pin
Nish Nishant28-May-02 1:07
sitebuilderNish Nishant28-May-02 1:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.