@Pvsmuntje A background worker is not a timer its control that can runs an operation on a seperate thread. This is useful when you want to run something that might slow your program down or even freeze your program, so that you can run your operation without making your program unresponsive. Hope this answers your question.
Dude you are a n00b .. just adding "label1.text = i.ToString" would of fixed the problem :)) what an EPIC FAIL..... =))))) LMAO
snake1980eyes 10 months ago
This has been flagged as spam show
why you dont just copy that code what you have opened in notepad or on paper ?
We know you dont know how to work with BackgroundWorker
System.Threading.Thread.Sleep(1) ??
Wft ??
for 1. why no just Threading.Thread.Sleep(1) ? and Why that command ? thats for nothing.
Dim WithEvents i As Integer ?!?! do you know for what is WithEvents ?
Timer ???? Why timer when you have BackgroundWorker ???
Delegate Sub ReportNum(ByVal num as Integer)
tenlukasas 1 year ago
Comment removed
tenlukasas 1 year ago
BackgroundWorker_DoWork
Do Until i = 100
i += 1
Invoke(New ReportNum(AddressOf NumToLabel), i)
...
...
tenlukasas 1 year ago
@tenlukasas :) ye.. can i add that code to Desc?.. ill give you Credits
TeamNiBiC 1 year ago
@TeamNiBiC ye, you can
tenlukasas 1 year ago
@tenlukasas Thanks so much :)!
TeamNiBiC 1 year ago
Comment removed
tenlukasas 1 year ago
Sub NumToLabel(ByVal num As Integer)
Label1.Text = num.ToString()
ProgressBar1.Value = num
EndSub
tenlukasas 1 year ago
Comment removed
tenlukasas 1 year ago
thank you (L)
kempi99999 1 year ago
@kempi99999 No Problem :)!
TeamNiBiC 1 year ago
@kempi99999 No Problen =) :$ <3. By the way. i like your vids :)
TeamNiBiC 1 year ago
Jag talar inte danska. Så därför skriver jag engelska:
Thank you for making this video. Have more luck next time!
happylex1983 2 years ago
okay (:
- Np Mate. thanks for watching.
TeamNiBiC 2 years ago
Like Pvsmuntje said,
Whats the purpose of a backgroundworker???
Where is it good for?....
binkydude 2 years ago
@binkydude well its just like a timer, that stops it self automatically, well i like timers more. but well, Backgroundworker is fine too
TeamNiBiC 2 years ago
@TeamNiBiC Thanks =)
binkydude 2 years ago
@binkydude Np m8
TeamNiBiC 2 years ago
Umm... Instead of the backgroundworker, you could use a timer, right? But, if that's the case, then what is the purpose of a backgroundworker?
Pvsmuntje 2 years ago
@Pvsmuntje yes you can use a timer. but backgroundworker. is just an other way to make it :)
TeamNiBiC 2 years ago
@Pvsmuntje A background worker is not a timer its control that can runs an operation on a seperate thread. This is useful when you want to run something that might slow your program down or even freeze your program, so that you can run your operation without making your program unresponsive. Hope this answers your question.
monsterhunter445 1 year ago
@monsterhunter445
yes thanks, thats exactly what it is! :)
TeamNiBiC 1 year ago
codes in description plz? :'(
GuitarGhost123 2 years ago
@GuitarGhost123 2 sec :D
im recording a video Right now :D. Sorry this comment is inside :D Sry m8 :D
TeamNiBiC 2 years ago