Click here to Skip to main content
15,918,967 members
Home / Discussions / C#
   

C#

 
GeneralRe: can't understand suspendedLayout Pin
Luc Pattyn7-Jan-08 8:48
sitebuilderLuc Pattyn7-Jan-08 8:48 
GeneralRe: can't understand suspendedLayout Pin
netJP12L7-Jan-08 9:54
netJP12L7-Jan-08 9:54 
GeneralRe: can't understand suspendedLayout Pin
Luc Pattyn7-Jan-08 10:07
sitebuilderLuc Pattyn7-Jan-08 10:07 
GeneralRe: can't understand suspendedLayout Pin
Martin#7-Jan-08 22:28
Martin#7-Jan-08 22:28 
GeneralRe: can't understand suspendedLayout Pin
Luc Pattyn8-Jan-08 1:53
sitebuilderLuc Pattyn8-Jan-08 1:53 
GeneralRe: can't understand suspendedLayout Pin
Ed.Poore7-Jan-08 8:54
Ed.Poore7-Jan-08 8:54 
QuestionThreadin.Thread Problem Pin
humayunlalzad7-Jan-08 5:37
humayunlalzad7-Jan-08 5:37 
GeneralRe: Threadin.Thread Problem Pin
Judah Gabriel Himango7-Jan-08 6:04
sponsorJudah Gabriel Himango7-Jan-08 6:04 
You can't change UI controls on a thread other than the one that created it. Thus, setting the lblInfo2.Text inside DoIt() is what's causing the problem, since DoIt is being run on a thread other than the one that created the lblInfo2 control.

If you need to do background work and provide updates to the UI in response to some background work progress, have a look at the BackgroundWorker component.





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
humayunlalzad7-Jan-08 6:42
humayunlalzad7-Jan-08 6:42 
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 
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 

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.