Click here to Skip to main content
16,004,924 members
Home / Discussions / C#
   

C#

 
AnswerRe: help please, set focus to control Pin
MoustafaS23-Oct-05 16:05
MoustafaS23-Oct-05 16:05 
GeneralRe: help please, set focus to control Pin
Anonymous23-Oct-05 16:09
Anonymous23-Oct-05 16:09 
QuestionImage Display Pin
MKlucher22-Oct-05 15:07
MKlucher22-Oct-05 15:07 
AnswerRe: Image Display Pin
MoustafaS22-Oct-05 15:35
MoustafaS22-Oct-05 15:35 
QuestionRelease versus Debug exception catching? Pin
theFrenchHornet22-Oct-05 14:11
theFrenchHornet22-Oct-05 14:11 
AnswerRe: Release versus Debug exception catching? Pin
Stefan Troschuetz22-Oct-05 22:12
Stefan Troschuetz22-Oct-05 22:12 
AnswerRe: Release versus Debug exception catching? Pin
mav.northwind22-Oct-05 23:32
mav.northwind22-Oct-05 23:32 
GeneralRe: Release versus Debug exception catching? Pin
Daniel Grunwald23-Oct-05 2:34
Daniel Grunwald23-Oct-05 2:34 
The reason is quite simple: Windows.Forms has it's own error dialog that allows to choose "continue" if an error occured inside an event handler. Then the form tries to continue execution.
But if you're running with a debugger attached, Windows.Forms does not use it's error dialog to give the debugger (or another try-catch statement) a chance to handle the exception.
To catch all exceptions in all cases, you have to:
- create a global try-catch in your Main method
- handle the Application.ThreadException event (for exceptions in Windows.Forms)
- handle the AppDomain.CurrentDomain.UnhandledException event (for exceptions in other threads)
AnswerRe: Release versus Debug exception catching? Pin
theFrenchHornet23-Oct-05 5:56
theFrenchHornet23-Oct-05 5:56 
QuestionNetworking Problem.Please Help!!! Pin
snouto22-Oct-05 14:00
snouto22-Oct-05 14:00 
Question#using a C# dll Pin
Joel Holdsworth22-Oct-05 12:00
Joel Holdsworth22-Oct-05 12:00 
AnswerRe: #using a C# dll Pin
André Ziegler22-Oct-05 12:09
André Ziegler22-Oct-05 12:09 
AnswerRe: #using a C# dll Pin
leppie22-Oct-05 12:33
leppie22-Oct-05 12:33 
QuestionRe: #using a C# dll Pin
Joel Holdsworth22-Oct-05 12:40
Joel Holdsworth22-Oct-05 12:40 
AnswerRe: #using a C# dll Pin
leppie22-Oct-05 22:15
leppie22-Oct-05 22:15 
AnswerRe: #using a C# dll Pin
Guffa22-Oct-05 19:02
Guffa22-Oct-05 19:02 
GeneralRe: #using a C# dll Pin
Joel Holdsworth22-Oct-05 22:54
Joel Holdsworth22-Oct-05 22:54 
GeneralRe: #using a C# dll Pin
Rob Graham23-Oct-05 5:52
Rob Graham23-Oct-05 5:52 
Questioncheckedlistbox and numericupdown Pin
Mridang Agarwalla22-Oct-05 10:32
Mridang Agarwalla22-Oct-05 10:32 
Questionduplicates in array Pin
Mridang Agarwalla22-Oct-05 10:14
Mridang Agarwalla22-Oct-05 10:14 
AnswerRe: duplicates in array Pin
turbochimp22-Oct-05 10:38
turbochimp22-Oct-05 10:38 
AnswerRe: duplicates in array Pin
Matt Gerrans22-Oct-05 19:57
Matt Gerrans22-Oct-05 19:57 
GeneralRe: duplicates in array Pin
Matt Gerrans22-Oct-05 20:24
Matt Gerrans22-Oct-05 20:24 
QuestionHelp TreeView Pin
picasso222-Oct-05 9:31
picasso222-Oct-05 9:31 
AnswerRe: Help TreeView Pin
picasso222-Oct-05 10:29
picasso222-Oct-05 10:29 

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.