Click here to Skip to main content
15,897,704 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionPass handle to form Pin
mjanssen6-Oct-07 9:02
mjanssen6-Oct-07 9:02 
AnswerRe: Pass handle to form Pin
Kristian Sixhøj6-Oct-07 9:13
Kristian Sixhøj6-Oct-07 9:13 
GeneralRe: Pass handle to form Pin
mjanssen6-Oct-07 9:34
mjanssen6-Oct-07 9:34 
GeneralRe: Pass handle to form Pin
Eduard Keilholz8-Oct-07 2:23
Eduard Keilholz8-Oct-07 2:23 
QuestionHelp needed with Exceptions! Pin
alesh_nitre5-Oct-07 2:35
alesh_nitre5-Oct-07 2:35 
AnswerRe: Help needed with Exceptions! Pin
Scott Dorman5-Oct-07 12:06
professionalScott Dorman5-Oct-07 12:06 
GeneralRe: Help needed with Exceptions! Pin
alesh_nitre7-Oct-07 20:25
alesh_nitre7-Oct-07 20:25 
GeneralRe: Help needed with Exceptions! Pin
Scott Dorman8-Oct-07 3:52
professionalScott Dorman8-Oct-07 3:52 
The code looks ok to me. Given the explanation, it sounds like you are actually hitting an exception in the MySqlDataReader code. When you get into that state, try pressing the "pause" button on the debug toolbar, which will break the execution and place you on the currently executing line of code. If it can't find the code, it should tell you and give you the option of looking at the assembly code. You could also try narrowing the try/catch by putting it inside the innermost using block directly around the code you think is throwing the exception.

Also, are you using .NET 2.0 or later? If not, you can try adding a blank catch block. It's possible (although unlikely) that the code is throwing an exception that isn't properly wrapped as a .NET exception. The empty catch block will catch that, but you won't have any exception data.


Scott.

—In just two days, tomorrow will be yesterday.

[Forum Guidelines] [Articles] [Blog]

GeneralRe: Help needed with Exceptions! Pin
alesh_nitre8-Oct-07 5:16
alesh_nitre8-Oct-07 5:16 
GeneralRe: Help needed with Exceptions! Pin
Scott Dorman8-Oct-07 5:34
professionalScott Dorman8-Oct-07 5:34 
GeneralRe: Help needed with Exceptions! Pin
alesh_nitre9-Oct-07 20:36
alesh_nitre9-Oct-07 20:36 
GeneralRe: Help needed with Exceptions! Pin
Scott Dorman10-Oct-07 3:31
professionalScott Dorman10-Oct-07 3:31 
QuestionError:Concurrency violation: the UpdateCommand affected 0 of the expected 1 records Pin
somagunasekaran4-Oct-07 0:31
somagunasekaran4-Oct-07 0:31 
AnswerRe: Error:Concurrency violation: the UpdateCommand affected 0 of the expected 1 records Pin
Urs Enzler4-Oct-07 23:16
Urs Enzler4-Oct-07 23:16 
QuestionCrack Pin
ellllllllie2-Oct-07 20:34
ellllllllie2-Oct-07 20:34 
AnswerRe: Crack Pin
Christian Graus2-Oct-07 21:34
protectorChristian Graus2-Oct-07 21:34 
GeneralRe: Crack Pin
originSH2-Oct-07 22:45
originSH2-Oct-07 22:45 
AnswerRe: Crack Pin
Scott Dorman3-Oct-07 12:01
professionalScott Dorman3-Oct-07 12:01 
AnswerRe: Crack Pin
Dave Kreskowiak3-Oct-07 12:15
mveDave Kreskowiak3-Oct-07 12:15 
GeneralRe: Crack Pin
Pete O'Hanlon4-Oct-07 10:55
mvePete O'Hanlon4-Oct-07 10:55 
GeneralRe: Crack Pin
Paul Conrad6-Oct-07 9:23
professionalPaul Conrad6-Oct-07 9:23 
AnswerRe: Crack Pin
Pete O'Hanlon4-Oct-07 10:57
mvePete O'Hanlon4-Oct-07 10:57 
Answeras Pete suggested Pin
Luc Pattyn4-Oct-07 12:13
sitebuilderLuc Pattyn4-Oct-07 12:13 
GeneralRe: as Pete suggested Pin
Christian Graus4-Oct-07 12:21
protectorChristian Graus4-Oct-07 12:21 
GeneralRe: as Pete suggested Pin
Luc Pattyn4-Oct-07 12:30
sitebuilderLuc Pattyn4-Oct-07 12:30 

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.