by Gehan Fernando (47 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB.NET
Difficulty: Unknown Difficulty
Originally Published: Fri 27th October 2006
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Timer Progress Bar. It Display How Many Seconds Left .....
ProgressBar1.Value = 0
ProgressBar1.Maximum = 20
Do While ProgressBar1.Value < ProgressBar1.Maximum
ProgressBar1.Value += 1
LThen = DateAndTime.Timer()
Do While DateAndTime.Timer() < (LThen + 1)
Me.Text = (ProgressBar1.Maximum - ProgressBar1.Value) & " Second(s) Left."
Loop
Loop