Get free Visual basic 2010 source codes. Learn Visual Basic 2010 using this website.
Showing posts with label Progressbar. Show all posts
Showing posts with label Progressbar. Show all posts
Monday, October 17, 2011
Tuesday, June 7, 2011
Simple use of Progressbar
The code bellow shows you how to implement progressbar without getting error:
Dim i As Integer
For i = 0 To 100
Do While (ProgressBar1.Value < 100)
ProgressBar1.Value = ProgressBar1.Value + 1
Application.DoEvents()
Loop
Next
Dim i As Integer
For i = 0 To 100
Do While (ProgressBar1.Value < 100)
ProgressBar1.Value = ProgressBar1.Value + 1
Application.DoEvents()
Loop
Next
Subscribe to:
Posts (Atom)