Click here to Skip to main content
15,908,437 members
Home / Discussions / C#
   

C#

 
Questionsilly question about access dba connection Pin
CalvinHobbies16-Jun-11 21:02
CalvinHobbies16-Jun-11 21:02 
AnswerRe: silly question about access dba connection Pin
Blue_Boy16-Jun-11 21:13
Blue_Boy16-Jun-11 21:13 
GeneralRe: silly question about access dba connection Pin
CalvinHobbies16-Jun-11 21:15
CalvinHobbies16-Jun-11 21:15 
GeneralRe: silly question about access dba connection Pin
Blue_Boy16-Jun-11 21:19
Blue_Boy16-Jun-11 21:19 
QuestionHow to not lose focus in the parent form when opening a modeless form Pin
manchukuo16-Jun-11 18:18
manchukuo16-Jun-11 18:18 
AnswerRe: How to not lose focus in the parent form when opening a modeless form Pin
OriginalGriff16-Jun-11 22:33
mveOriginalGriff16-Jun-11 22:33 
GeneralRe: How to not lose focus in the parent form when opening a modeless form Pin
manchukuo17-Jun-11 6:13
manchukuo17-Jun-11 6:13 
QuestionUpdating console textbox from multiple threads Pin
shivamkalra16-Jun-11 14:58
shivamkalra16-Jun-11 14:58 
Hello everyone,

I've made a multithread data base application, which is collecting data from multiple data bases from different threads and then process it and notifies the result on GUI. I've made a console which is just a big text box. Now, my question is that what is the best way to update a single GUI component from multiple threads. So far, I've made class called class IOConsole which constains a variable called static Queue(String message) and a method public static println(string str) and then I've added a background worker in GUI thread which keep looping and checks if queque is empty or not and if not empty then it pop the string and print it on the GUI. To me its does't look very nice approach, not sure if it might be. But could I get some suggestion about how can I achieve this most efficiently.

Thanks,
Shivam Kalra Smile | :)
AnswerRe: Updating console textbox from multiple threads Pin
manchukuo16-Jun-11 18:38
manchukuo16-Jun-11 18:38 
GeneralRe: Updating console textbox from multiple threads Pin
BobJanova16-Jun-11 23:02
BobJanova16-Jun-11 23:02 
GeneralRe: Updating console textbox from multiple threads Pin
shivamkalra17-Jun-11 10:21
shivamkalra17-Jun-11 10:21 
QuestionHelp with c sharp and powershell exchange commands Pin
turbosupramk316-Jun-11 10:58
turbosupramk316-Jun-11 10:58 
AnswerRe: Help with c sharp and powershell exchange commands Pin
turbosupramk316-Jun-11 11:47
turbosupramk316-Jun-11 11:47 
AnswerRe: Help with c sharp and powershell exchange commands Pin
jschell16-Jun-11 12:07
jschell16-Jun-11 12:07 
GeneralRe: Help with c sharp and powershell exchange commands Pin
turbosupramk316-Jun-11 13:20
turbosupramk316-Jun-11 13:20 
AnswerRe: Help with c sharp and powershell exchange commands Pin
turbosupramk317-Jun-11 7:51
turbosupramk317-Jun-11 7:51 
GeneralRe: Help with c sharp and powershell exchange commands Pin
jschell17-Jun-11 11:40
jschell17-Jun-11 11:40 
GeneralRe: Help with c sharp and powershell exchange commands Pin
turbosupramk317-Jun-11 13:01
turbosupramk317-Jun-11 13:01 
QuestionVoIP with C# on a 64Bit Windows 7 Pin
DJ-Boris16-Jun-11 9:44
DJ-Boris16-Jun-11 9:44 
AnswerRe: VoIP with C# on a 64Bit Windows 7 Pin
BobJanova17-Jun-11 0:21
BobJanova17-Jun-11 0:21 
QuestionFTP Problem Pin
Kevin Marois16-Jun-11 9:07
professionalKevin Marois16-Jun-11 9:07 
AnswerRe: FTP Problem [modified] Pin
Matt Meyer16-Jun-11 10:22
Matt Meyer16-Jun-11 10:22 
GeneralRe: FTP Problem Pin
Kevin Marois16-Jun-11 12:15
professionalKevin Marois16-Jun-11 12:15 
GeneralRe: FTP Problem Pin
Matt Meyer16-Jun-11 13:10
Matt Meyer16-Jun-11 13:10 
GeneralRe: FTP Problem Pin
Kevin Marois16-Jun-11 13:20
professionalKevin Marois16-Jun-11 13:20 

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.