How to make a CountDown

Frolox

New member
Joined
Oct 14, 2009
Messages
1
Programming Experience
Beginner
Well Hi all.
I'm new in this forum, i was in other forums and they almost don't answer lets see if i get lucky here ^^

OK I'm kinda new in VB.net and I'm trying to make a Tool for a game.

Well here is how i kinda want the program.

TextBox1 is where the user put the name
TextBox8 is where i want the time the format is 00:00:00 Hours,Minutes,Seconds.

Button1 have to add 1 Hour to textbox8
Button2 have to ass 30min to textbox8

Button18 Timer1.Start()
Button31 Timer1.Stop()
Button38 Textbox1 = ""
Textbox8 = "00:00:00"

Button38 is like reset button

but i dunno what to do to countdown i only now how to do it in seconds ...

but in like the end of the timer code i need something like this
if TextBox8.Text = "00:00:00" Then
MsgBox(TextBox1.Text & "'s Time Has Finish.", MsgBoxStyle.MsgBoxSetForeground)
end if


Thank You for you attention
And i hope someone can help me.
 
Last edited:
Look into TimeSpan, it has a subtract method that should work for you. The Tick event is where you do the subtracting.
 
Back
Top