Click here to Skip to main content
15,915,703 members
Home / Discussions / C#
   

C#

 
QuestionUpdating textbox from class running in another thread Pin
__Leeloo__10-Aug-08 2:51
__Leeloo__10-Aug-08 2:51 
Hi.

I have a problem getting this thing to work, been reading everything i got my hands on but still can´t get it to work...

I have a UI with a textbox that gets updated via a method. This method updates the textbox thread safley by checking invokeRequired and so on.

I make an instace of a class in the main thread that has this backgroundworker in it. When i start the backgroundworker in the class im not able to update my textbox in the UI? Can i only do this from statuschanged event from the thread?

Im more used to embedded programming...

Hope i have managed to explain my problem good enough, this one is really getting on my nerves Frown | :(

Regards

/Johan
AnswerRe: Updating textbox from class running in another thread Pin
Green Fuze10-Aug-08 5:11
Green Fuze10-Aug-08 5:11 
GeneralRe: Updating textbox from class running in another thread Pin
PIEBALDconsult10-Aug-08 7:18
mvePIEBALDconsult10-Aug-08 7:18 
QuestionHow to Intract with Reporting Services by code ? Pin
hdv21210-Aug-08 0:43
hdv21210-Aug-08 0:43 
AnswerRe: How to Intract with Reporting Services by code ? Pin
Wendelius10-Aug-08 1:01
mentorWendelius10-Aug-08 1:01 
GeneralRe: How to Intract with Reporting Services by code ? Pin
hdv21210-Aug-08 1:06
hdv21210-Aug-08 1:06 
GeneralRe: How to Intract with Reporting Services by code ? Pin
Wendelius10-Aug-08 1:19
mentorWendelius10-Aug-08 1:19 
GeneralRe: How to Intract with Reporting Services by code ? Pin
hdv21210-Aug-08 1:49
hdv21210-Aug-08 1:49 
GeneralRe: How to Intract with Reporting Services by code ? Pin
Wendelius10-Aug-08 2:13
mentorWendelius10-Aug-08 2:13 
GeneralRe: How to Intract with Reporting Services by code ? Pin
hdv21210-Aug-08 2:29
hdv21210-Aug-08 2:29 
GeneralRe: How to Intract with Reporting Services by code ? Pin
Wendelius10-Aug-08 2:48
mentorWendelius10-Aug-08 2:48 
QuestionThreading while sharing a Graphics object Pin
JFord12349-Aug-08 23:25
JFord12349-Aug-08 23:25 
AnswerRe: Threading while sharing a Graphics object Pin
Christian Graus10-Aug-08 0:50
protectorChristian Graus10-Aug-08 0:50 
GeneralRe: Threading while sharing a Graphics object Pin
JFord123410-Aug-08 0:54
JFord123410-Aug-08 0:54 
GeneralRe: Threading while sharing a Graphics object Pin
Christian Graus10-Aug-08 2:07
protectorChristian Graus10-Aug-08 2:07 
GeneralRe: Threading while sharing a Graphics object Pin
JFord123410-Aug-08 2:55
JFord123410-Aug-08 2:55 
GeneralRe: Threading while sharing a Graphics object Pin
Guffa10-Aug-08 5:09
Guffa10-Aug-08 5:09 
QuestionReading the SMTP Configurations Pin
hadad9-Aug-08 23:24
hadad9-Aug-08 23:24 
QuestionHow to save DataSet to exist MDB file? Pin
Admin8879-Aug-08 23:14
Admin8879-Aug-08 23:14 
AnswerRe: How to save DataSet to exist MDB file? Pin
Christian Graus10-Aug-08 0:51
protectorChristian Graus10-Aug-08 0:51 
QuestionRead Large File Pin
Reza Shojaee9-Aug-08 20:27
Reza Shojaee9-Aug-08 20:27 
AnswerRe: Read Large File Pin
Guffa9-Aug-08 22:23
Guffa9-Aug-08 22:23 
GeneralRe: Read Large File Pin
Reza Shojaee9-Aug-08 23:25
Reza Shojaee9-Aug-08 23:25 
GeneralRe: Read Large File Pin
User 665810-Aug-08 0:22
User 665810-Aug-08 0:22 
GeneralRe: Read Large File Pin
#realJSOP10-Aug-08 1:08
professional#realJSOP10-Aug-08 1:08 

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.