3
Contributors
4
Replies
12
Views
6 Years
Discussion Span
Last Post by shivya
0

Hello~ I'm having a little problem on how to make a timer which include minutes and seconds. The design of the form goes like this:

http://i.imgur.com/lh1pk.png

Another condition here is when the timer goes down, the interval gets faster.
Please help me~

dim i as integer=0
timer1= i
label1.Text = "Remaining time:" + CStr(2500 - j) + "seconds"

i = i + 1
If i > 5000 Then
Timer1.Enabled = False
commandbutton1.text=stop

End If

Edited by shivya: n/a

0

Thank you so much! I'm going to study the notes!

it's ok
timer properties= 5000 interval
5000 means 5 seconds.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.