Click here to Skip to main content
16,007,814 members
Home / Discussions / C#
   

C#

 
GeneralRe: PDF File open Issue Pin
KaptinKrunch28-Oct-05 5:56
KaptinKrunch28-Oct-05 5:56 
AnswerRe: PDF File open Issue Pin
snouto28-Oct-05 12:52
snouto28-Oct-05 12:52 
QuestionWeird problem with Label[]. Pin
Green Fuze28-Oct-05 4:49
Green Fuze28-Oct-05 4:49 
AnswerRe: Weird problem with Label[]. Pin
KaptinKrunch28-Oct-05 5:07
KaptinKrunch28-Oct-05 5:07 
GeneralRe: Weird problem with Label[]. Pin
Green Fuze28-Oct-05 6:05
Green Fuze28-Oct-05 6:05 
AnswerRe: Weird problem with Label[]. Pin
IdUnknown28-Oct-05 7:46
IdUnknown28-Oct-05 7:46 
GeneralRe: Weird problem with Label[]. Pin
Green Fuze28-Oct-05 11:48
Green Fuze28-Oct-05 11:48 
QuestionMessageBox.Show() Causing Error Pin
Michele@MERC28-Oct-05 4:46
Michele@MERC28-Oct-05 4:46 
Hi~

I am trying to solve an unusal problem. I am working on exception handling in my application (.NET / C#) using Enterprise Library Con. from Microsoft and all was going well until I started working on the situation where the connection to the database is lost. Right now my problem is that in the ExceptionHandler I wrote for this specific case needs to show the user a MessageBox and when I hit the MessageBox.Show("errorMsg", "Connection Error", MessageBoxButtons.YesNO, MessageBoxIcon.Information) I get the JIT exception (quit or continue). I have tried moving the messagebox out of the handler and still get the same error. The other ExceptionHandlers I have created have no problems displaying message boxes - however the database connection is still in place. - Side note - If I force a throw of the kind of exception I am looking for, but do not actually stop the database the message box works fine

Dazed and Confused
Confused | :confused:

Michele
Mercer Engineering Research Center
mstusak@merc.mercer.edu
AnswerRe: MessageBox.Show() Causing Error Pin
KaptinKrunch28-Oct-05 4:51
KaptinKrunch28-Oct-05 4:51 
GeneralRe: MessageBox.Show() Causing Error Pin
Michele@MERC31-Oct-05 2:24
Michele@MERC31-Oct-05 2:24 
QuestionWanted: Calender Control Pin
Gavin Roberts28-Oct-05 4:22
Gavin Roberts28-Oct-05 4:22 
AnswerRe: Wanted: Calender Control Pin
AETaylor31-Oct-05 2:51
AETaylor31-Oct-05 2:51 
QuestionModerating Posting Messages Pin
Asare28-Oct-05 3:46
Asare28-Oct-05 3:46 
AnswerRe: Moderating Posting Messages Pin
Dan Neely28-Oct-05 4:06
Dan Neely28-Oct-05 4:06 
GeneralRe: Moderating Posting Messages--an email list server Pin
Asare28-Oct-05 9:14
Asare28-Oct-05 9:14 
AnswerRe: Moderating Posting Messages Pin
Dave Kreskowiak28-Oct-05 5:10
mveDave Kreskowiak28-Oct-05 5:10 
GeneralRe: Moderating Posting Messages Pin
Asare28-Oct-05 9:17
Asare28-Oct-05 9:17 
GeneralRe: Moderating Posting Messages Pin
Dave Kreskowiak28-Oct-05 12:10
mveDave Kreskowiak28-Oct-05 12:10 
QuestionQuestion about assigning value to multiple variables Pin
Green Fuze28-Oct-05 3:44
Green Fuze28-Oct-05 3:44 
AnswerRe: Question about assigning value to multiple variables Pin
Niko Tanghe28-Oct-05 4:37
Niko Tanghe28-Oct-05 4:37 
GeneralRe: Question about assigning value to multiple variables Pin
Green Fuze28-Oct-05 4:40
Green Fuze28-Oct-05 4:40 
GeneralRe: Question about assigning value to multiple variables Pin
Dave Kreskowiak28-Oct-05 5:09
mveDave Kreskowiak28-Oct-05 5:09 
GeneralRe: Question about assigning value to multiple variables Pin
Green Fuze28-Oct-05 6:07
Green Fuze28-Oct-05 6:07 
AnswerRe: Question about assigning value to multiple variables Pin
[Marc]28-Oct-05 6:39
[Marc]28-Oct-05 6:39 
AnswerRe: Question about assigning value to multiple variables Pin
Daniel Turini28-Oct-05 6:54
Daniel Turini28-Oct-05 6:54 

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.