Solved

How to Push/Resume backgroundWorker

Posted on 2006-11-27
5
453 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
REXEX help Part 2 2 40
Expression Evaluater 3 38
vs2013 publish -- can I have publish create a directory and copy files into it during install? 3 25
SSIS On fail action 5 38
IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

820 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