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~

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

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

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.