Click here to Skip to main content
15,894,460 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to custom time(date time picker) Pin
phantanagu18-May-07 20:21
phantanagu18-May-07 20:21 
AnswerRe: How to custom time(date time picker) Pin
Scott Dorman19-May-07 5:14
professionalScott Dorman19-May-07 5:14 
AnswerRe: How to custom time(date time picker) Pin
visualhint30-May-07 14:35
visualhint30-May-07 14:35 
QuestionObject is currently in use elsewhere! Pin
engsrini18-May-07 11:58
engsrini18-May-07 11:58 
AnswerRe: Object is currently in use elsewhere! Pin
Christian Graus18-May-07 12:26
protectorChristian Graus18-May-07 12:26 
GeneralRe: Object is currently in use elsewhere! Pin
engsrini18-May-07 12:39
engsrini18-May-07 12:39 
GeneralRe: Object is currently in use elsewhere! Pin
Colin Angus Mackay18-May-07 13:30
Colin Angus Mackay18-May-07 13:30 
GeneralRe: Object is currently in use elsewhere! Pin
Scott Dorman19-May-07 5:19
professionalScott Dorman19-May-07 5:19 
The BackgroundWorker will not allow any cross-thread operations and will throw an exception if you try to do so.

You still need to have a basic understanding of how threading works even when using the BackgroundWorker. If you are trying to change the button image as the result of either progress or completion, you need to do so using either the ProgressChanged or RunWorkerCompleted events. (If you use ProgressChanged, make sure to set the WorkerReportsProgress property to true.

See http://msdn2.microsoft.com/en-us/library/system.componentmodel.backgroundworker(vs.80).aspx[^] for more details.

-----------------------------
In just two days, tomorrow will be yesterday.

QuestionUpdating databound control from another thread Pin
Chals18-May-07 11:11
Chals18-May-07 11:11 
QuestionSending arguments to running programm Pin
Monin D.18-May-07 9:12
Monin D.18-May-07 9:12 
AnswerRe: Sending arguments to running programm Pin
Not Active18-May-07 10:47
mentorNot Active18-May-07 10:47 
AnswerRe: Sending arguments to running programm Pin
Dave Herren18-May-07 10:56
Dave Herren18-May-07 10:56 
AnswerRe: Sending arguments to running programm Pin
Christian Graus18-May-07 11:28
protectorChristian Graus18-May-07 11:28 
GeneralRe: Sending arguments to running programm Pin
Monin D.18-May-07 22:18
Monin D.18-May-07 22:18 
QuestionBeginner with file system question Pin
oriondesign18-May-07 8:47
oriondesign18-May-07 8:47 
AnswerRe: Beginner with file system question Pin
Tarakeshwar Reddy18-May-07 9:04
professionalTarakeshwar Reddy18-May-07 9:04 
Questiontest GET /index.html HTTP/1.0 Pin
vunhat18-May-07 8:33
vunhat18-May-07 8:33 
AnswerRe: test GET /index.html HTTP/1.0 Pin
Jimmanuel18-May-07 9:32
Jimmanuel18-May-07 9:32 
QuestionGrayscale values Pin
diddy3418-May-07 7:29
diddy3418-May-07 7:29 
AnswerRe: Grayscale values Pin
Guffa18-May-07 7:50
Guffa18-May-07 7:50 
GeneralRe: Grayscale values Pin
diddy3418-May-07 21:09
diddy3418-May-07 21:09 
AnswerRe: Grayscale values Pin
Guffa19-May-07 22:49
Guffa19-May-07 22:49 
AnswerRe: Grayscale values Pin
Christian Graus18-May-07 11:30
protectorChristian Graus18-May-07 11:30 
QuestionArrayList of PictureBoxes Pin
aei_totten18-May-07 7:20
aei_totten18-May-07 7:20 
AnswerRe: ArrayList of PictureBoxes Pin
Luc Pattyn18-May-07 8:08
sitebuilderLuc Pattyn18-May-07 8: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.