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


Top 5 Contributors of the Month
david stephan

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?





Responses
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


http://www.dotnetspark.com/Forum/2889-background-worker-with-timer-c-sharpnet.aspx


look at these.....

Thanks & Regards,
GowthamManju
Chennai



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

Hi,


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;
tst_bgw.RunWorkerAsync();

}




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
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

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