Developer technologies | VB
An object-oriented programming language developed by Microsoft that can be used in .NET.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Right now my current code is
Do
ProgressBar1.Value -= 5
Loop While ProgressBar1.Value < 100
But its too fast so it instantly makes the value negative, is there a way i can slow down this loop without a timer?
This is for Visual Basic
An object-oriented programming language developed by Microsoft that can be used in .NET.
For example:
Do
ProgressBar1.Value -= 5
System.Threading.Thread.Sleep(55)
Loop While ProgressBar1.Value >= ProgressBar1.Minimum + 5