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

C#

 
QuestionChanging the background Pin
razanabanu17-Jul-07 2:33
razanabanu17-Jul-07 2:33 
AnswerRe: Changing the background Pin
Malcolm Smart17-Jul-07 3:05
Malcolm Smart17-Jul-07 3:05 
AnswerRe: Changing the background Pin
Vasudevan Deepak Kumar17-Jul-07 4:41
Vasudevan Deepak Kumar17-Jul-07 4:41 
QuestionThreading ??? Pin
Software_Specialist17-Jul-07 2:31
Software_Specialist17-Jul-07 2:31 
AnswerRe: Threading ??? Pin
originSH17-Jul-07 2:41
originSH17-Jul-07 2:41 
GeneralRe: Threading ??? Pin
Software_Specialist17-Jul-07 3:31
Software_Specialist17-Jul-07 3:31 
GeneralRe: Threading ??? Pin
Bekjong17-Jul-07 3:46
Bekjong17-Jul-07 3:46 
GeneralRe: Threading ??? Pin
Software_Specialist17-Jul-07 4:20
Software_Specialist17-Jul-07 4:20 
Dont know ..its bit confusing at the moment. Well i am getting exception Cross-threaded operation not valid..
I am trying to achieve simple operation that is execution of the code i mentioned in my first post.
I just have one textbox and a button over the form. Now i added backgroundWorker component over the form. Double clicked over DoWork event.

Now i have a startbtn click and DoWork event. So do i need ProgressChanged or RunWorkerCompleted event or no..??

If not then do i have to just paste the first post code under DoWork event and add some extra code under start button event to execute the loop or is there any different approach. If its true then what would be that extra code that i have to add under start button event so that it performs what i am trying to...
I dont think it works with
backgroundWorker1.RunWorkerAsync(); .........?

Well in MSDN they have given some differnt example and i am doing something really simple...

Thanks
GeneralRe: Threading ??? Pin
Bekjong17-Jul-07 4:48
Bekjong17-Jul-07 4:48 
GeneralRe: Threading ??? Pin
Russell Jones17-Jul-07 5:02
Russell Jones17-Jul-07 5:02 
QuestionCould yous give some idea ? Pin
LyBun17-Jul-07 2:31
LyBun17-Jul-07 2:31 
AnswerRe: Could yous give some idea ? Pin
Malcolm Smart17-Jul-07 2:56
Malcolm Smart17-Jul-07 2:56 
AnswerRe: Could yous give some idea ? Pin
Colin Angus Mackay17-Jul-07 3:10
Colin Angus Mackay17-Jul-07 3:10 
QuestionDouble row in TreeView or ListView Pin
Andrea_8617-Jul-07 1:51
Andrea_8617-Jul-07 1:51 
AnswerRe: Double row in TreeView or ListView Pin
m@u17-Jul-07 2:06
m@u17-Jul-07 2:06 
GeneralRe: Double row in TreeView or ListView Pin
Andrea_8617-Jul-07 6:14
Andrea_8617-Jul-07 6:14 
QuestionMSMQ Error Handling Pin
ramdil17-Jul-07 1:38
ramdil17-Jul-07 1:38 
AnswerRe: MSMQ Error Handling Pin
Jimmanuel17-Jul-07 3:55
Jimmanuel17-Jul-07 3:55 
GeneralRe: MSMQ Error Handling Pin
ramdil17-Jul-07 4:24
ramdil17-Jul-07 4:24 
GeneralRe: MSMQ Error Handling Pin
Jimmanuel17-Jul-07 4:35
Jimmanuel17-Jul-07 4:35 
GeneralRe: MSMQ Error Handling Pin
ramdil17-Jul-07 5:35
ramdil17-Jul-07 5:35 
GeneralRe: MSMQ Error Handling Pin
Jimmanuel17-Jul-07 6:10
Jimmanuel17-Jul-07 6:10 
GeneralRe: MSMQ Error Handling Pin
ramdil17-Jul-07 6:23
ramdil17-Jul-07 6:23 
GeneralRe: MSMQ Error Handling [modified] Pin
Jimmanuel17-Jul-07 6:45
Jimmanuel17-Jul-07 6:45 
GeneralRe: MSMQ Error Handling Pin
ramdil17-Jul-07 7:15
ramdil17-Jul-07 7:15 

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.