Click here to Skip to main content
15,905,508 members
Home / Discussions / C#
   

C#

 
Questiondraw address dynamically Pin
ham rez11-Jul-08 22:41
ham rez11-Jul-08 22:41 
AnswerRe: draw address dynamically Pin
Abhijit Jana11-Jul-08 23:25
professionalAbhijit Jana11-Jul-08 23:25 
QuestionNewbie question: single/multiple method arguments Pin
Metal7611-Jul-08 22:34
Metal7611-Jul-08 22:34 
AnswerRe: Newbie question: single/multiple method arguments Pin
Metal7611-Jul-08 22:41
Metal7611-Jul-08 22:41 
GeneralRe: Newbie question: single/multiple method arguments Pin
subai12-Jul-08 1:38
subai12-Jul-08 1:38 
GeneralRe: Newbie question: single/multiple method arguments Pin
PIEBALDconsult12-Jul-08 2:58
mvePIEBALDconsult12-Jul-08 2:58 
GeneralRe: Newbie question: single/multiple method arguments Pin
Guffa12-Jul-08 11:19
Guffa12-Jul-08 11:19 
Questionhow to make the backgroundworker run untill the threads are completed Pin
Technobizz11-Jul-08 22:32
Technobizz11-Jul-08 22:32 
i've made 3 methods and all the 3 methods are very heavy weight code as the download htmldata so applied threads on each method

using
ThreadStart starter = delegate
{
the method called here
};
new Thread(starter).Start();

and used
progressBar1.Maximum = 100;

backgroundWorker1.WorkerReportsProgress = true;

backgroundWorker1.ProgressChanged += new ProgressChangedEventHandler(backgroundWorker1_ProgressChanged);

backgroundWorker1.DoWork += new DoWorkEventHandler(backgroundWorker1_DoWork);

backgroundWorker1.RunWorkerCompleted += new RunWorkerCompletedEventHandler(backgroundWorker1_RunWorkerCompleted);

backgroundWorker1.RunWorkerAsync();

like this i've used 3 backgroundworker for all three methods separately
but still after the 3rd backgroundworker progressbar completes but the threads are still running so now i just want to know how can i make the UI thread responsive till all threads complete asynchronously.

your all advice are appreciated!!
cheers

Paritosh Tripathi
B.Tech. (C.S.)

AnswerRe: how to make the backgroundworker run untill the threads are completed Pin
Luc Pattyn12-Jul-08 0:56
sitebuilderLuc Pattyn12-Jul-08 0:56 
AnswerRe: how to make the backgroundworker run untill the threads are completed Pin
Gareth H12-Jul-08 1:32
Gareth H12-Jul-08 1:32 
Questionhow to set values from datagrid to string variable Pin
Technobizz11-Jul-08 22:22
Technobizz11-Jul-08 22:22 
QuestionHow to read a streaming data and display on the browser? Pls help [modified] Pin
MyRunner2311-Jul-08 21:14
MyRunner2311-Jul-08 21:14 
AnswerRe: How to read a streaming data and display on the browser? Pls help Pin
MyRunner2312-Jul-08 15:52
MyRunner2312-Jul-08 15:52 
QuestionProblem with MarshalByRefObject Pin
Przemyslaw Celej11-Jul-08 20:51
Przemyslaw Celej11-Jul-08 20:51 
Questionretrieve photos from MOSS2007? Pin
kju00211-Jul-08 20:16
kju00211-Jul-08 20:16 
QuestionHow to call other application from one application on button click-VC++ in .NET Pin
paresh_sarjani11-Jul-08 19:40
paresh_sarjani11-Jul-08 19:40 
AnswerRe: How to call other application from one application on button click-VC++ in .NET Pin
Elroy Dsilva11-Jul-08 21:35
Elroy Dsilva11-Jul-08 21:35 
GeneralRe: How to call other application from one application on button click-VC++ in .NET Pin
paresh_sarjani11-Jul-08 21:40
paresh_sarjani11-Jul-08 21:40 
GeneralRe: How to call other application from one application on button click-VC++ in .NET Pin
Elroy Dsilva11-Jul-08 21:45
Elroy Dsilva11-Jul-08 21:45 
GeneralRe: How to call other application from one application on button click-VC++ in .NET Pin
paresh_sarjani12-Jul-08 18:12
paresh_sarjani12-Jul-08 18:12 
GeneralRe: How to call other application from one application on button click-VC++ in .NET Pin
paresh_sarjani12-Jul-08 18:41
paresh_sarjani12-Jul-08 18:41 
QuestionProblem With Rich Text Box Pin
D i x y11-Jul-08 19:24
D i x y11-Jul-08 19:24 
AnswerRe: Problem With Rich Text Box Pin
Giorgi Dalakishvili12-Jul-08 0:55
mentorGiorgi Dalakishvili12-Jul-08 0:55 
AnswerRe: Problem With Rich Text Box Pin
Mohammad Dayyan12-Jul-08 10:31
Mohammad Dayyan12-Jul-08 10:31 
QuestionCustom sorting Pin
anton-0911-Jul-08 18:32
anton-0911-Jul-08 18:32 

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.