Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
QuestionNeed help in parsing MIME version 1.0 email message Pin
msolh17-May-06 10:52
msolh17-May-06 10:52 
AnswerRe: Need help in parsing MIME version 1.0 email message Pin
Kakuji17-May-06 18:48
Kakuji17-May-06 18:48 
Questionhow to add an image into resource library? Pin
Susuko17-May-06 10:43
Susuko17-May-06 10:43 
AnswerRe: how to add an image into resource library? Pin
Judah Gabriel Himango17-May-06 11:02
sponsorJudah Gabriel Himango17-May-06 11:02 
GeneralRe: how to add an image into resource library? Pin
Susuko17-May-06 11:18
Susuko17-May-06 11:18 
GeneralRe: how to add an image into resource library? Pin
Judah Gabriel Himango17-May-06 12:31
sponsorJudah Gabriel Himango17-May-06 12:31 
AnswerRe: how to add an image into resource library? Pin
stancrm18-May-06 2:43
stancrm18-May-06 2:43 
QuestionC# and MySQL Pin
Terji17-May-06 10:23
Terji17-May-06 10:23 
Concerning: C#, OdbcDataReader, MySQL, MyODBC

I've built a service which every x seconds performs a series of checks and if they all validate true, it launched a conversion which takes up to 20 minutes.

While converting the service still performs these checks every x seconds and that's all good Blush | :O )

So now I've got like a two-threaded monster; one performing checks while the other is performing a conversion.

ENTER THE PROBLEM:

I'm using MySQL as the database. I use MyODBC to establish the connection and the OdbcDataReader to read my recordsets. OK! The database connection can only have ONE active OdbcDataReader at a time and now my two-threaded monster gets conflicted.
Queries from the checks can't access the database while the conversion has an active OdbcDataReader and even worse the conversion sometimes fails because of the checks Blush | :O |

I've built a simple MySQL class with the methods:

open(...)
query(...)
close(...)

Which I pass round to all the objects (I tried creating new instances each time and I got the MAX Connections Exception'ish Error).

Is there anyone out there who can help my out of this hole I've seem to have dug myself into?


It isn't supposed to be easy, if you know what I mean WTF | :WTF:
AnswerRe: C# and MySQL Pin
Guffa17-May-06 12:00
Guffa17-May-06 12:00 
QuestionTableLayoutPanel format Pin
reshsilk17-May-06 10:06
reshsilk17-May-06 10:06 
QuestionThe "\" character? Pin
Nick H. Lauritsen17-May-06 10:06
Nick H. Lauritsen17-May-06 10:06 
AnswerRe: The "\" character? Pin
Joshua Quick17-May-06 10:35
Joshua Quick17-May-06 10:35 
AnswerRe: The "\" character? Pin
stancrm18-May-06 2:45
stancrm18-May-06 2:45 
QuestionHow to save my DataTable, to my HD ? Pin
Tintin9217-May-06 9:52
Tintin9217-May-06 9:52 
AnswerRe: How to save my DataTable, to my HD ? Pin
coolvinx17-May-06 11:15
coolvinx17-May-06 11:15 
Questionc# button control Pin
reshsilk17-May-06 9:44
reshsilk17-May-06 9:44 
AnswerRe: c# button control Pin
User 665817-May-06 9:49
User 665817-May-06 9:49 
GeneralRe: c# button control Pin
reshsilk17-May-06 9:59
reshsilk17-May-06 9:59 
Questionwindows titlebar Pin
gonzalesman17-May-06 9:02
gonzalesman17-May-06 9:02 
AnswerRe: windows titlebar Pin
NaNg1524117-May-06 9:15
NaNg1524117-May-06 9:15 
GeneralRe: windows titlebar Pin
Office Lineman17-May-06 11:46
Office Lineman17-May-06 11:46 
AnswerRe: windows titlebar Pin
Eric Dahlvang17-May-06 9:22
Eric Dahlvang17-May-06 9:22 
AnswerRe: windows titlebar Pin
Eric Dahlvang17-May-06 9:24
Eric Dahlvang17-May-06 9:24 
GeneralRe: windows titlebar Pin
Guffa17-May-06 12:04
Guffa17-May-06 12:04 
QuestionConvert Component to Service Pin
AndyZZ17-May-06 8:45
AndyZZ17-May-06 8:45 

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.