Adam Smith
New member
Hello all,
I am trying to make a program in Visual Basic 2010 where the user can select hours,minutes, and seconds from some combo boxes and then the program will count down from the time they entered until hours minutes and seconds is equal to 0 when a message box appears saying that the timer finished.
But in the coding I can't figure out how to get the program to work because what if the user enters minutes and nothing else or hours and seconds, or lots of other combinations, its just confusing me....
HELP!
all answers are highly appreciated.
Can someone please include an example because I'm still confused...
I get how to convert all the hours and minutes and seconds to seconds and cont down once a second from that but every seconds I want to update the interface with:
example:
"Hours: 0 Minutes: 4 Seconds: 28"
and every seconds this needs to be updated
I am trying to make a program in Visual Basic 2010 where the user can select hours,minutes, and seconds from some combo boxes and then the program will count down from the time they entered until hours minutes and seconds is equal to 0 when a message box appears saying that the timer finished.
But in the coding I can't figure out how to get the program to work because what if the user enters minutes and nothing else or hours and seconds, or lots of other combinations, its just confusing me....
HELP!
all answers are highly appreciated.
Can someone please include an example because I'm still confused...
I get how to convert all the hours and minutes and seconds to seconds and cont down once a second from that but every seconds I want to update the interface with:
example:
"Hours: 0 Minutes: 4 Seconds: 28"
and every seconds this needs to be updated