Click here to Skip to main content
15,907,492 members
Home / Discussions / C#
   

C#

 
Questioninterchanging data Pin
V.24-Sep-06 22:10
professionalV.24-Sep-06 22:10 
AnswerRe: interchanging data Pin
Ed.Poore24-Sep-06 23:08
Ed.Poore24-Sep-06 23:08 
GeneralRe: interchanging data Pin
V.24-Sep-06 23:18
professionalV.24-Sep-06 23:18 
GeneralRe: interchanging data Pin
Ed.Poore24-Sep-06 23:24
Ed.Poore24-Sep-06 23:24 
QuestionSecond path fragment must not be a drive or UNC name. Pin
raghbhar24-Sep-06 20:59
raghbhar24-Sep-06 20:59 
AnswerRe: Second path fragment must not be a drive or UNC name. Pin
Christian Graus24-Sep-06 21:28
protectorChristian Graus24-Sep-06 21:28 
Questionhow to handle a ToolStripItem? Pin
musti_aktas24-Sep-06 20:42
musti_aktas24-Sep-06 20:42 
AnswerRe: how to handle a ToolStripItem? Pin
Luis Alonso Ramos24-Sep-06 21:27
Luis Alonso Ramos24-Sep-06 21:27 
AnswerRe: how to handle a ToolStripItem? Pin
musti_aktas24-Sep-06 21:52
musti_aktas24-Sep-06 21:52 
QuestionRegistry Pin
MHASSANF24-Sep-06 20:17
MHASSANF24-Sep-06 20:17 
AnswerRe: Registry Pin
Christian Graus24-Sep-06 20:52
protectorChristian Graus24-Sep-06 20:52 
QuestionRe: Registry Pin
MHASSANF24-Sep-06 22:36
MHASSANF24-Sep-06 22:36 
AnswerRe: Registry Pin
Christian Graus24-Sep-06 23:26
protectorChristian Graus24-Sep-06 23:26 
JokeRe: Registry Pin
Nader Elshehabi24-Sep-06 23:46
Nader Elshehabi24-Sep-06 23:46 
Questionhow to make a transparent Pin
Parshant Verma24-Sep-06 19:10
Parshant Verma24-Sep-06 19:10 
AnswerRe: how to make a transparent Pin
Christian Graus24-Sep-06 19:38
protectorChristian Graus24-Sep-06 19:38 
QuestionIs there anything in C# timer sort of thing! Pin
Mirunab24-Sep-06 18:55
Mirunab24-Sep-06 18:55 
AnswerRe: Is there anything in C# timer sort of thing! Pin
Guffa24-Sep-06 19:09
Guffa24-Sep-06 19:09 
GeneralRe: Is there anything in C# timer sort of thing! Pin
Mirunab24-Sep-06 21:30
Mirunab24-Sep-06 21:30 
AnswerRe: Is there anything in C# timer sort of thing! Pin
Guffa24-Sep-06 21:47
Guffa24-Sep-06 21:47 
GeneralRe: Is there anything in C# timer sort of thing! Pin
Mirunab24-Sep-06 22:55
Mirunab24-Sep-06 22:55 
GeneralRe: Is there anything in C# timer sort of thing! Pin
Dilllu25-Sep-06 0:03
Dilllu25-Sep-06 0:03 
GeneralRe: Is there anything in C# timer sort of thing! Pin
Rob Philpott25-Sep-06 1:32
Rob Philpott25-Sep-06 1:32 
I'm not sure you want to do that!

That is going to be one very busy thread, continually updating the time when it doesn't need to. At the very least you could add a Thread.Sleep(1000) in there to rest the thread for a second between updates, although why you'd do this rather than use a timer escapes me.

Not to mention that you should *never* update the GUI from anything apart from the thread which created it (and in VS2005 it will explicitly block you from doing so). You'd need a call to BeginInvoke to make this solution acceptable.


Regards,
Rob Philpott.

QuestionIn Multi threaded Application, OpenFileDialog-> My Computer tree not showing Drives available Pin
kumar.bs24-Sep-06 18:53
kumar.bs24-Sep-06 18:53 
AnswerRe: In Multi threaded Application, OpenFileDialog-> My Computer tree not showing Drives available Pin
S. Senthil Kumar24-Sep-06 20:10
S. Senthil Kumar24-Sep-06 20:10 

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.