.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Melody Anderson
Eminent IT

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

Timer with Backgroundworker in C#.Net

Posted By: Narayanan     Posted Date: August 18, 2011    Points:5   Category :C#
Hi friends,
How to use Multiple Timer with Multiple Backgroundworker in C#.Net?

Author: Sasi Prabhu             
Posted Date: August 19, 2011     Points: 20   

To perform Multiple Process

Try Threading Concepts.

Thanks & Regards,
Sasi Prabhu.
Author: Gowthammanju             
Posted Date: August 19, 2011     Points: 20   

Hey already this question is posted on below forms url as


look at these.....

Thanks & Regards,

Mark if the answer is true
Author: Pankaj Chahar             
Posted Date: November 26, 2011     Points: 20   


0 down vote favorite
share [fb] share [tw]

I've been trying to get the logic right for my timer and backgroundworker thread. Granted I don't fully understand the whole system despite all my reading. the following are excerpts of code concerned: My polling button :

private void pollStart_Click(object sender, EventArgs e)
tst_bgw = new BackgroundWorker();
//mandatory. Otherwise will throw an exception when calling ReportProgress method
tst_bgw.WorkerReportsProgress = true;
//mandatory. Otherwise we would get an InvalidOperationException when trying to cancel the operation
tst_bgw.WorkerSupportsCancellation = true;
tst_bgw.DoWork += tst_bgw_DoWork;
tst_bgw.ProgressChanged += tst_bgw_ProgressChanged;
tst_bgw.RunWorkerCompleted += tst_bgw_RunWorkerCompleted;


Pankaj Chahar

Deserve More...

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend