Hi.
hi have a custom created smooth progress bar (Pbar)
control and i wanted to know how i can reset the bar to 0
after the bar has run to completion.
The pbar uses a timer control to function
The code that i have been given in an example is:
'this is added to the tick event for the timer
If (Me.SmoothProgr essBar1.Value > 0) Then
Me.SmoothProgre ssBar1.Value -= 1
Me.SmoothProgre ssBar2.Value += 1
Else
Me.Timer1.Enabl ed = False
End If
'this is added to the onclick event on a button:
Me.SmoothProgre ssBar1.Value = 100
Me.SmoothProgre ssBar2.Value = 0
Me.Timer1.Inter val = 1
Me.Timer1.Enabl ed = True
at present this code runs 2 progress bars on the form.
one runs backwards, while the other goes forward.
I need help on modifying this to just use one pbar that
goes forward and then resets itself once it has completed.
Can anyone help me.
thx for your help