Click here to Skip to main content
15,898,035 members
Home / Discussions / Windows Forms
   

Windows Forms

 
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 
GeneralRe: Help needed with Exceptions! Pin
alesh_nitre8-Oct-07 5:16
alesh_nitre8-Oct-07 5:16 
You are rite! the problem is indeed with MySqlDataReader..
btw I tried what you suggestd.. but pressing pause returned the control to the "throw new App.." statement with the arrow in green color.

To dig further suspected the 'using' blocks in my code made it hang. so I removed them to find that my doubt was right. I closed the reader manually rather than the 'using' doing it for me.. following is the code..
<br />
// Select from any table that ***HAS BLOB DATA FIELD***<br />
string selCmd = "SELECT * FROM document";<br />
MySqlCommand allDocsCmd = new MySqlCommand(selCmd, con);<br />
MySqlDataReader reader = allDocsCmd.ExecuteReader();<br />
reader.Close();


The execution hangs at reader.Close();

This for sure is now a MySqlDAtaReader related problem..I selected everything else but the blob field from the table and it worked fine i.e.
"select id,data from document" hangs but
"select id from document" works ok.
('data' is a LONGBLOB field in document table)

I am searching a cause and fix but lemme know if you have ne idea why this is happening..
Thanx.
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 
GeneralRe: as Pete suggested Pin
Pete O'Hanlon4-Oct-07 22:08
mvePete O'Hanlon4-Oct-07 22:08 

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.