Solved

How to Push/Resume backgroundWorker

Posted on 2006-11-27
5
450 Views
Last Modified: 2012-05-05
Hi,

I am wondering how can I push and resume a backgroundWorker while an operation is being performed.

Thanks.
0
Comment
Question by:i950
  • 2
  • 2
5 Comments
 
LVL 10

Assisted Solution

by:Kinger247
Kinger247 earned 400 total points
ID: 18027734
Heres a good article on multi thread... http://www.devx.com/DevX/10MinuteSolution/20365/1954?pf=true

Is this what your after ?
0
 

Author Comment

by:i950
ID: 18031182
No, I just need to push the backgroundWorker.

Thanks anyway.
0
 
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 100 total points
ID: 18031216
by "push", do you mean "pause" ?
0
 

Author Comment

by:i950
ID: 18031267
Yes!!!

Sorry for my bad English :D
0
 
LVL 10

Accepted Solution

by:
Kinger247 earned 400 total points
ID: 18035293
lol, I see :)

You can use : System.Threading.Thread.Sleep(0)

Or: System.Threading.Thread.Suspend()

Although in 2005, suspend is obsolete.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now