Posted on 2013-12-19
Can anyone show me an example of how to use the BackgroundWorker Class in the following scenario?
I'm calling a sub statement that looks something like this:
For a as integer = 1 to 10
' Update 'a' on the screen
When DoSomething is called I want to display 'a' on the screen. I also want to show the status of DoSomeThingElseA and DoSomeThingElseB
I don't want the For Next Loop to advance until DoSomeThingElseA and DoSomeThingElseB
have completed there tasks.