Thanks a lot. I've been looking for a good tutorial to show me this. I needed to monitor the clock speed of my cpu but my GUI was going all non-responsive. This is exactly what I needed :)
@darrenlogan64388 жыл бұрын
Hi, Forcing "Ignore cross-thread errors" is not recommended. You should update all ui controls in the report_progress event, just like you did for the progress bar. Not the best advice from a tutorial!
@dravenadonis89523 жыл бұрын
Pro tip: watch series on Flixzone. Me and my gf have been using it for watching all kinds of movies these days.
@christianotto39103 жыл бұрын
@Draven Adonis Yup, I have been using Flixzone for years myself =)
@henriklauridsen968611 жыл бұрын
Thank you. I enjoy they way you show how to. Hope you do many more.
@JonahLiu11 жыл бұрын
Awesome. Best tutorial I've seen about coding, and I've seen a lot.
@firasdaw67454 жыл бұрын
spontaneous and straight to the point .. thank you
@RandomGermanBrit12 жыл бұрын
Thanks a ton! Now I actually know how I can make my program download stuff! Could you also make a tutorial with the same kind of topic, just one where the backgroundworker saves the file/s to a specific location? If yes, then that would be awesome!
@babzo111 жыл бұрын
Another well explained tutorial .Thanks Brandon.U got d skill....
@Doowi925 жыл бұрын
to fix it its simple just modify your label1 text like this Me.Invoke(Sub() Label1.Text = i) like this no need to add checkforillegal...
@bobbriggs42874 жыл бұрын
Thanx for showing me how to perform a wait using thread sleep.
@TonyAwad8812 жыл бұрын
Good job on this. Clean and straight forward. Cheers
@GabrielM014 жыл бұрын
Do you have a tutorial for the delegates? I can work for this for now with my applications, but i know crossthreading is dangerous, i would like to learn delegates aswell
@dragoonadept13 жыл бұрын
Internet heroes, the lot of you brave, brave souls.
@SiebeBosch9 жыл бұрын
I've got a few hundreds of tasks to run, of which I'd like 4 to run parallel each time. Any thoughts on how to do that? I guess 4 background workers should do the trick, but then again: how do I keep track of which worker has finished and can start a new task? Or would a PoolThread be a better option here?
@GameWithBrony11 жыл бұрын
Thank you very much! You helped me with making a program simillar to Tapatalk
@empemitheos12 жыл бұрын
great video, so much clearer than the msdn docs
@enzanblazer11 жыл бұрын
Amazing tutorial man, very clear and easy to follow.
@enzanblazer11 жыл бұрын
Do you have a video where you explain the delegates part?
@romzcodie23373 жыл бұрын
Hi sir, thank you for this wonderful tutorial, it really helps me a lot, but if you don't mind, may I ask a favor on how to apply this progressbar and backgroundworker in saving data from datagridview to ms access database. Thank you so much for any help sir. God Bless!
@xxblinddxx13 жыл бұрын
Thanks.. just what i was looking for!
@skateboarderboy19 жыл бұрын
Question, I have implemented a background worker and works great. The project I am working on basically copies a the entirety of one directory to another. If a file fails to copy(ie. it is to long for the destination path) then it catches the file as an exception and write the file name and path a a text file entitled 'error log'. The background worker works in when the are no exception files caught, but if an exception is caught, the report progress of the background workers is failing to continue adding a file counter to the total progress even though I have a variable dedicated to counting the files even this cases and reported this number to the report Progress method. The background worker end prematurely in the later case, even though there is still plenty of "work" to be done. Any ideas?
@razorramzan-inc4 жыл бұрын
Have you tried using Try, catch
@herrjonna20076 жыл бұрын
Amazing tutorial! These are rear, keep up the good work!
@Tonio211012 жыл бұрын
It seems that loops run annoyingly slower in the BackgroundWorker than in the default Thread. Is there a solution or alternative to that?
@punksnotdead47662 жыл бұрын
Good tutorial
@lightningz17126 жыл бұрын
Does backgroundworker continue to run if the form is closed?
@Atri4812 жыл бұрын
How did you got that title sequence?
@Camixcs1312 жыл бұрын
Thanks Great Tutorial :D It helped me with my "Email Sender" Application :)
@leocfox12 жыл бұрын
i want to show a picture of a loading.gif with the background worker. rather than a progress bar.. can you help me with this please?
@VidGaming8 жыл бұрын
Is the count milliseconds?
@Atri4812 жыл бұрын
Do you have windows 8??
@polasanderson635310 жыл бұрын
the code is good but if you use it for scraper to scrape links so it starts freezing a a little bit. Now i need to know how to stop the backgroundworker cuz the cancelasyn() is not working at all Thank you.
@LiableOne510 жыл бұрын
same
@gtag1749 жыл бұрын
how do i do this if i need get the progress bar working with a data grid
@femtozz12 жыл бұрын
very very useful ... thank you
@Hackerzpwned12 жыл бұрын
Nice tut :)
@ashraf.mohamed10 жыл бұрын
You are a genius. thank you very much :)
@buddyroach8 жыл бұрын
can i use a background worker to run a timer? cuz i tried and its not working.
@CorruptKrown3338 жыл бұрын
Run it on Form_Load.
@LiableOne510 жыл бұрын
How do you cancel / stop the background worker
@mattkingz11 жыл бұрын
Thank you for the tutorial! c:
@eduardocatoc85056 жыл бұрын
thank you so much, sir!
@DoubleDYouTube13 жыл бұрын
I tried to make a file copier or a downloader and progressbar doesn't work! Why?
@DoubleDYouTube3 жыл бұрын
@@Personal-rc7cy Uh... Sure... Let me just dig up my 9 year old Visual Basic projects...
@raygun20924 жыл бұрын
god bless you speak english and no wierdo indian accent :D
@rogerbreton64124 жыл бұрын
Does not work in my application :(
@ThomasOrlita9 жыл бұрын
Thanks :)
@kamilblaszczyk66319 жыл бұрын
THX
@BrandonioProductions9 жыл бұрын
+Kamil Blaszczyk NP! THX 4 WATCHING!
@drsybousse26589 жыл бұрын
thnx
@LedinukasTV12 жыл бұрын
Very nice theme. Can you send me link of your theme? (buttons, progressbars) Please. ;P I subed.
@polasanderson635310 жыл бұрын
Still freezing and even does not stop
@peterschiller24518 жыл бұрын
Instead using backgroundworker, you could use the Async method. Private Async Sub Button.clicked bla bla your code await task.delay(200) end sub
@fzotya2213 жыл бұрын
nice vid, +1 subsriber
@qwaxer13 жыл бұрын
3rd!!
@emann12345613 жыл бұрын
ok
@ashraf.mohamed10 жыл бұрын
+1 :)
@subs2meplease13 жыл бұрын
6th!!!
@Irishsam11 жыл бұрын
remove the spaces
@umaidkhakwani13 жыл бұрын
2nd!
@ganzstar9813 жыл бұрын
4rd!!!
@micahlawton10 жыл бұрын
sub
@Evanhorsley-brickman61913 жыл бұрын
1st!!!
@MrVBMagic13 жыл бұрын
0th!!!
@emann12345613 жыл бұрын
not an expert!!!!
@Irishsam11 жыл бұрын
this is pathetic, urgh me.invoke(sub() me.label.text = "fucking few words to do this") delegating is hardly fucking hard is it?
@ryanthomas19029 жыл бұрын
I have done the check for illegal cross thread calls but am still getting the error... any ideas?