Question how to create countdown timer in vb

leutrim

New member
Joined
Jan 1, 2012
Messages
2
Programming Experience
Beginner
please tell me how to creta a countdown timer in visual basic

button (start)
labelsec(Sec lab)
labelmin(min lab)
labelhr(hours lab)
txtsec(textbox for write sec)
txtmin(textbox for write min)
txthr(textbox for write hour)
please tell me how to programming
 
First things first, you need to add a Timer to your form. You set its Interval property to specify how often it raises its Tick event. You can then update the UI in the Tick event handler. You should start by forgetting the countdown and get that part to work. Try just displaying the current time in a Label. Once you've got that working, then you can think about the rest.

That's how you do proper software development: break the problem down into smaller, simpler parts. You can then solve each of those simpler problems more easily and build up a solution piece by piece until you have inherently solve the original problem.
 
Back
Top