Click here to Skip to main content
16,012,107 members
Home / Discussions / C#
   

C#

 
AnswerRe: SHGetFileInfo does not work for large icons Pin
DaveyM6916-May-08 3:16
professionalDaveyM6916-May-08 3:16 
AnswerRe: SHGetFileInfo does not work for large icons Pin
DaveyM6916-May-08 3:25
professionalDaveyM6916-May-08 3:25 
QuestionAbout grid checkBox Pin
Prabhat00315-May-08 23:51
Prabhat00315-May-08 23:51 
AnswerRe: About grid checkBox Pin
stancrm16-May-08 0:52
stancrm16-May-08 0:52 
GeneralRe: About grid checkBox Pin
Prabhat00316-May-08 1:03
Prabhat00316-May-08 1:03 
QuestionC# MS Sql Express: share connection between threads? Pin
Michiel15-May-08 23:46
Michiel15-May-08 23:46 
AnswerRe: C# MS Sql Express: share connection between threads? Pin
originSH16-May-08 0:34
originSH16-May-08 0:34 
GeneralRe: C# MS Sql Express: share connection between threads? Pin
Michiel16-May-08 1:20
Michiel16-May-08 1:20 
The thread who is pooling the database does this every 0,5 second. I could make a separate SQLConnection which only will be used by this thread.

On the other site there is the Socket connection. I have not a very good indepth knowledge on how this works, with AsyncCallBacks etc... Are these callbacks (when data is received) handled by the same Thread. Or does each of them has its own thread. When they share the same thread I would probably have only 2 different sql connections: 1 for the Thread who pools the database and the second one for the socket connection, data callbacks.

When each callback is handled by an other (new) Thread, I probably need a new connection for each callback.

Could you let me know if this is the right way? Or am I missing something?

Thanks in advance!

Michiel
GeneralRe: C# MS Sql Express: share connection between threads? Pin
originSH16-May-08 1:28
originSH16-May-08 1:28 
GeneralRe: C# MS Sql Express: share connection between threads? Pin
Michiel16-May-08 3:48
Michiel16-May-08 3:48 
AnswerRe: C# MS Sql Express: share connection between threads? Pin
The Nightcoder16-May-08 13:32
The Nightcoder16-May-08 13:32 
GeneralRe: C# MS Sql Express: share connection between threads? Pin
originSH18-May-08 22:10
originSH18-May-08 22:10 
GeneralRe: C# MS Sql Express: share connection between threads? Pin
The Nightcoder18-May-08 23:28
The Nightcoder18-May-08 23:28 
GeneralRe: C# MS Sql Express: share connection between threads? Pin
originSH18-May-08 23:56
originSH18-May-08 23:56 
GeneralRe: C# MS Sql Express: share connection between threads? [modified] Pin
Michiel20-May-08 23:44
Michiel20-May-08 23:44 
GeneralRe: C# MS Sql Express: share connection between threads? [modified] Pin
The Nightcoder21-May-08 2:58
The Nightcoder21-May-08 2:58 
GeneralRe: C# MS Sql Express: share connection between threads? Pin
Michiel21-May-08 3:33
Michiel21-May-08 3:33 
GeneralRe: C# MS Sql Express: share connection between threads? Pin
The Nightcoder21-May-08 3:43
The Nightcoder21-May-08 3:43 
AnswerRe: C# MS Sql Express: share connection between threads? Pin
The Nightcoder16-May-08 13:52
The Nightcoder16-May-08 13:52 
AnswerRe: C# MS Sql Express: share connection between threads? Pin
The Nightcoder16-May-08 14:28
The Nightcoder16-May-08 14:28 
QuestionDrawEllipse and FillEllipse methods Pin
NarVish15-May-08 23:11
NarVish15-May-08 23:11 
AnswerRe: DrawEllipse and FillEllipse methods Pin
Christian Graus15-May-08 23:28
protectorChristian Graus15-May-08 23:28 
AnswerRe: DrawEllipse and FillEllipse methods Pin
John_Adams15-May-08 23:32
John_Adams15-May-08 23:32 
AnswerRe: DrawEllipse and FillEllipse methods Pin
CPallini16-May-08 4:09
mveCPallini16-May-08 4:09 
Questioninternal protected problem Pin
Pankaj Garg15-May-08 23:11
Pankaj Garg15-May-08 23:11 

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.