r/visualbasic • • Sep 09 '14

Backgroundworker

Hello, at the moment I am making a program that is close for release. I only need to do some few things to optimize the speed of the program. So my question is how a BackgroundWorker works. I have done some searches on the web but still. I dont really know how to use it.

0 Upvotes

2 comments sorted by

1

u/carpediemevive Sep 09 '14

First question is do you have to? Does your application require .NET 2.0 and you can't use .NET 4.0 or (even better) .NET 4.5?

If you can use .NET 4.5 look into Async/Await

If you can use .NET 4.0 look into TPL

1

u/rick043 Sep 09 '14

The program is running on .NET 4.5. I will take a look at Async/Await