Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Countdown Code between two combo boxes and a label or text box.

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
I am working on a program that has two combo boxes labeled hours and minutes. What I want to do is be able to select the number of hours and number of minutes and have a label or text box count the time remaining down once I have pushed the start button in my program. Any help would be most appreciated.
 
I think the best way to do so is to include timer on the form. When you press the button you should set the time into variable and start timer. In Timer1.Timer event you should check if your selected time has elapsed and update label or text box.
If you want sample code, mail me.
bye
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top