943,580 Members | Top Members by Rank

Ad:
Apr 20th, 2009
0

help timer

Expand Post »
hi to all my fellow programmers,

i'm creating now an attendance system. how to create a count down timer that will minus in the system time? it is possible and how? i have a 3 textbox 1 is for the hour, minutes and seconds. and 3 label for the count down,


first to do is type what time will be time out, for example is this

the time is now

11:09:58

all i want is this if the user type 12:00:00 in the time out the count down should began in

00:51:02

until it came up to 00:00:00

how can i do this? please help ASAP. badly needed.
Similar Threads
Reputation Points: 3
Solved Threads: 5
Posting Whiz in Training
ryan311 is offline Offline
254 posts
since Jul 2008
Apr 21st, 2009
0

Re: help timer

you need to substract the system time from the user input and do the rest with a timer control.
Featured Poster
Reputation Points: 665
Solved Threads: 427
Posting Genius
debasisdas is offline Offline
6,406 posts
since Feb 2007
Apr 22nd, 2009
0

Re: help timer

how?
Reputation Points: 3
Solved Threads: 5
Posting Whiz in Training
ryan311 is offline Offline
254 posts
since Jul 2008
Apr 23rd, 2009
0

Re: help timer

With the use of the DateDiff function and either the time function or the now function, and you can look these up in vb's help. The timer control is in the toolbox of the standard exe project and placing one on your form, selecting it, and pressing F1 will allow you to read all about it.

Good Luck
Reputation Points: 156
Solved Threads: 296
Posting Virtuoso
vb5prgrmr is offline Offline
1,670 posts
since Mar 2009
Apr 23rd, 2009
0

Re: help timer

i have no MSDN intstall to my computer sir
Reputation Points: 3
Solved Threads: 5
Posting Whiz in Training
ryan311 is offline Offline
254 posts
since Jul 2008
Apr 23rd, 2009
0

Re: help timer

You can find all info on line.
Featured Poster
Reputation Points: 665
Solved Threads: 427
Posting Genius
debasisdas is offline Offline
6,406 posts
since Feb 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Major Help Needed For Pacman Code
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Adodc help.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC