Click here to Skip to main content
15,922,574 members
Home / Discussions / C#
   

C#

 
GeneralRe: Threadin.Thread Problem Pin
Judah Gabriel Himango7-Jan-08 7:04
sponsorJudah Gabriel Himango7-Jan-08 7:04 
GeneralRe: Threadin.Thread Problem Pin
humayunlalzad7-Jan-08 8:30
humayunlalzad7-Jan-08 8:30 
GeneralRe: Threadin.Thread Problem Pin
Judah Gabriel Himango7-Jan-08 10:30
sponsorJudah Gabriel Himango7-Jan-08 10:30 
GeneralRe: Threadin.Thread Problem Pin
Patrick Etc.7-Jan-08 7:41
Patrick Etc.7-Jan-08 7:41 
GeneralRe: Threadin.Thread Problem Pin
Judah Gabriel Himango7-Jan-08 7:50
sponsorJudah Gabriel Himango7-Jan-08 7:50 
GeneralRe: Threadin.Thread Problem Pin
humayunlalzad7-Jan-08 8:32
humayunlalzad7-Jan-08 8:32 
GeneralRe: Threadin.Thread Problem Pin
Luc Pattyn7-Jan-08 8:50
sitebuilderLuc Pattyn7-Jan-08 8:50 
GeneralRe: Threadin.Thread Problem Pin
Judah Gabriel Himango7-Jan-08 9:53
sponsorJudah Gabriel Himango7-Jan-08 9:53 
Use this instead:

lblInfo2.BeginInvoke((ThreadStart)delegate
{
    lblInfo2.Text = "whatever";
});


That will invoke the text setter on the correct thread.

If you find yourself doing lots of Control.BeginInvoke or Control.Invoke calls, opt instead to use a BackgroundWorker component. Much simpler and cleaner.


Tech, life, family, faith: Give me a visit.
I'm currently blogging about: What this world needs... (Video)
The apostle Paul, modernly speaking: Epistles of Paul

Judah Himango


GeneralRe: Threadin.Thread Problem Pin
humayunlalzad8-Jan-08 20:56
humayunlalzad8-Jan-08 20:56 
GeneralWeb services in runtime Pin
Goncalo Oliveira7-Jan-08 5:31
Goncalo Oliveira7-Jan-08 5:31 
GeneralRe: Web services in runtime Pin
Pete O'Hanlon7-Jan-08 10:27
mvePete O'Hanlon7-Jan-08 10:27 
Generalreading bytes into directory Pin
gottimukkala7-Jan-08 5:24
gottimukkala7-Jan-08 5:24 
GeneralRe: reading bytes into directory Pin
Judah Gabriel Himango7-Jan-08 7:52
sponsorJudah Gabriel Himango7-Jan-08 7:52 
GeneralRe: reading bytes into directory Pin
Christian Graus7-Jan-08 9:34
protectorChristian Graus7-Jan-08 9:34 
QuestionCan you tell what menu item the mouse is pointing at? [modified] Pin
earlgraham7-Jan-08 5:15
earlgraham7-Jan-08 5:15 
AnswerRe: Can you tell what menu item the mouse is pointing at? Pin
Judah Gabriel Himango7-Jan-08 6:24
sponsorJudah Gabriel Himango7-Jan-08 6:24 
GeneralRe: Can you tell what menu item the mouse is pointing at? Pin
earlgraham7-Jan-08 10:07
earlgraham7-Jan-08 10:07 
GeneralRe: Can you tell what menu item the mouse is pointing at? Pin
Judah Gabriel Himango7-Jan-08 10:22
sponsorJudah Gabriel Himango7-Jan-08 10:22 
AnswerRe: Can you tell what menu item the mouse is pointing at? Pin
PIEBALDconsult7-Jan-08 8:13
mvePIEBALDconsult7-Jan-08 8:13 
GeneralRe: Can you tell what menu item the mouse is pointing at? Pin
earlgraham7-Jan-08 10:10
earlgraham7-Jan-08 10:10 
AnswerRe: Can you tell what menu item the mouse is pointing at? Pin
Luc Pattyn7-Jan-08 9:04
sitebuilderLuc Pattyn7-Jan-08 9:04 
GeneralRe: Can you tell what menu item the mouse is pointing at? Pin
earlgraham7-Jan-08 10:13
earlgraham7-Jan-08 10:13 
GeneralRe: Can you tell what menu item the mouse is pointing at? Pin
Luc Pattyn7-Jan-08 11:27
sitebuilderLuc Pattyn7-Jan-08 11:27 
GeneralRe: Can you tell what menu item the mouse is pointing at? Pin
earlgraham8-Jan-08 8:52
earlgraham8-Jan-08 8:52 
Generalbrowse word document Pin
angels7777-Jan-08 4:51
angels7777-Jan-08 4:51 

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.