VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Timer Progress Bar. It Display How Many Seconds Left .....

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 .....

Rate 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

Download this snippet    Add to My Saved Code

Timer Progress Bar. It Display How Many Seconds Left ..... Comments

No comments have been posted about Timer Progress Bar. It Display How Many Seconds Left ...... Why not be the first to post a comment about Timer Progress Bar. It Display How Many Seconds Left ......

Post your comment

Subject:
Message:
0/1000 characters