.

Subscribe For Free Updates!

We'll not spam mate! We promise.

Monday, August 17, 2015

Video tutorial: Multithreading with VB.NET and BackgroundWorker

The Visual Studio provides software developers a lot of classes available that the VB.NET-, C # - can facilitate ... programmers life enormously.
A good example is the BackgroundWorker class, with the one (ie threads) can control background processes.
And what do I need all this?
Since code is executed seriel, when you run a lengthy operation, of course, access to the surface is blocked until the operation is finished.
To this to go out of the way, you should outsource this operation in another thread that runs parallel to the surface thread.
Especially in times of multiprocessor systems, this is advantageous because as the operating system the UI thread and the worker thread can be distributed to different CPUs.
The following VB.NET- tutorial I will show you how to quickly create the BackgroundWorker class a new thread, this starts and visualizes the progress of threads.
I'll also show you how this background process is also easily cancel.
Did you like this tutorial? About constructive criticism I am of course always!

Socializer Widget By Blogger Yard
SOCIALIZE IT →
FOLLOW US →
SHARE IT →

0 comments:

Post a Comment