Click here to Skip to main content
15,912,507 members
Home / Discussions / C#
   

C#

 
GeneralRe: Where to better store some app info Pin
PIEBALDconsult14-Apr-08 8:48
mvePIEBALDconsult14-Apr-08 8:48 
QuestionReading command output from a database [modified] Pin
Muammar©13-Apr-08 20:59
Muammar©13-Apr-08 20:59 
GeneralRe: Reading command output from a database Pin
Christian Graus13-Apr-08 21:13
protectorChristian Graus13-Apr-08 21:13 
GeneralRe: Reading command output from a database Pin
Muammar©13-Apr-08 21:16
Muammar©13-Apr-08 21:16 
GeneralRe: Reading command output from a database Pin
Christian Graus13-Apr-08 21:28
protectorChristian Graus13-Apr-08 21:28 
GeneralRe: Reading command output from a database Pin
Muammar©13-Apr-08 21:29
Muammar©13-Apr-08 21:29 
GeneralRe: Reading command output from a database Pin
blackjack215013-Apr-08 23:41
blackjack215013-Apr-08 23:41 
GeneralRe: Reading command output from a database Pin
Muammar©14-Apr-08 0:06
Muammar©14-Apr-08 0:06 
GeneralRe: Reading command output from a database Pin
Muammar©13-Apr-08 21:28
Muammar©13-Apr-08 21:28 
GeneralRe: Reading command output from a database Pin
Christian Graus13-Apr-08 21:34
protectorChristian Graus13-Apr-08 21:34 
GeneralRe: Reading command output from a database Pin
Muammar©13-Apr-08 21:39
Muammar©13-Apr-08 21:39 
GeneralGot it working! [modified] Pin
Muammar©13-Apr-08 22:03
Muammar©13-Apr-08 22:03 
GeneralRe: Got it working! Pin
Christian Graus13-Apr-08 22:21
protectorChristian Graus13-Apr-08 22:21 
QuestionDataGridView double column cells validation Pin
Noemi Katinka13-Apr-08 20:44
Noemi Katinka13-Apr-08 20:44 
GeneralSQL Slow with Threading Pin
Expert Coming13-Apr-08 19:56
Expert Coming13-Apr-08 19:56 
GeneralRe: SQL Slow with Threading Pin
Guffa13-Apr-08 20:41
Guffa13-Apr-08 20:41 
Expert Coming wrote:
I am also not using any Thread.Sleeps...


There is most likely your problem.

Unless you have multiple CPUs or a multiple core CPU, only one thread at a time can run. Your thread that updates the progbress bar will update the progress bar once, then it will wait it's entire time slot for another change that will not happen, as it's blocking the thread that would do the change.

When there is nothing for the thread to do, you should do a Thread.Sleep(0) to give up the rest of the time slot so that another thead can use the CPU time.

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: SQL Slow with Threading Pin
Expert Coming13-Apr-08 21:19
Expert Coming13-Apr-08 21:19 
QuestionHow to access controls which are in the Panel or Groupbox Pin
NarVish13-Apr-08 19:37
NarVish13-Apr-08 19:37 
AnswerRe: How to access controls which are in the Panel or Groupbox Pin
Expert Coming13-Apr-08 19:39
Expert Coming13-Apr-08 19:39 
GeneralRe: How to access controls which are in the Panel or Groupbox Pin
NarVish13-Apr-08 19:44
NarVish13-Apr-08 19:44 
GeneralRe: How to access controls which are in the Panel or Groupbox Pin
Expert Coming13-Apr-08 19:50
Expert Coming13-Apr-08 19:50 
AnswerRe: How to access controls which are in the Panel or Groupbox Pin
darkelv13-Apr-08 19:50
darkelv13-Apr-08 19:50 
Generalusing StretchDIBits() functions in C# Pin
Faysal13-Apr-08 18:01
Faysal13-Apr-08 18:01 
GeneralRe: using StretchDIBits() functions in C# Pin
Christian Graus13-Apr-08 18:12
protectorChristian Graus13-Apr-08 18:12 
GeneralBackup and Restore MySql Database Using C# Pin
joie717013-Apr-08 17:16
joie717013-Apr-08 17:16 

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.