I write a lot of Client side WinForm programs to analyze wireless network test results, from 100MB log files and MySQL databases. I wanted to be able to run some background tasks that can take 10+ minutes to complete.Using Google, I found a few programs that used the Backgroundworker (in .Net 2.0). Although all the examples I found were overly complicated and hard to follow; so I decided to write a very simple program in VB.Net 2005 that showed how to use all the features of the Backgroundworker.
Using the Backgroundworker with VB.Net 2005
Responsive UI's for WPF Applications Using Asynchronous Processing.
how do i manage multiple background workers
Yes. You can call it from anywhere.
I see that the BGW1.RunWorkerAsync()is in a button click event can this be called from a routine sub procedure?