I am trying to make a program in visual basic 2010 where the user enters hours minutes and seconds into text boxes and then the program will count down from that until its equal to 0 when a msgbox appears and says its finished.
I was converting hour entered, minutes entered, and seconds entered all into seconds and then having a timer subtract 1 from that until its equal to 0.
But the problem I'm having is that I want to display the hours,minutes, and seconds left in a label to the user in a format of: "hours: 0 minutes: 23 seconds :42" but I cant figure out how to display it in this format.
All 2 RepliesReply to this topic
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.