944,195 Members | Top Members by Rank

Ad:
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Apr 3rd, 2007
1

Re: Visual Basic Timer/Clock/Countdown.

Isn't there an API function that lets you do a more detailed timer function?
Reputation Points: 10
Solved Threads: 3
Light Poster
mjwest10 is offline Offline
27 posts
since Feb 2007
Sep 15th, 2009
-1

Re: Visual Basic Timer/Clock/Countdown.

THIS IS GREAT!!!!!!!!


know what, im on a great dilemma about this...


i've been trying this myself, this countdown thingy....


ive made so many circus tricks but funny, these are the only codes i needed...


so thank you so much to you who posted this!


please mail me in my account SNIP



i will be pleased to know that you have read my post....
Last edited by happygeek; Sep 16th, 2009 at 6:09 am. Reason: email snipped
Reputation Points: 3
Solved Threads: 0
Newbie Poster
memaine is offline Offline
1 posts
since Sep 2009
Sep 16th, 2009
0

Re: Visual Basic Timer/Clock/Countdown.

Do you need to show the actual time or the countdown of a timer? If time then the format i.e. hour:minute:seconds?
Reputation Points: 329
Solved Threads: 347
Senior Poster
AndreRet is offline Offline
3,700 posts
since Jan 2008
Sep 16th, 2009
0

Re: Visual Basic Timer/Clock/Countdown.

You can user Timer Function
dim t as double
t=timer

do while (timer-t)<10.1

loop

Timer-T Return how many Second and milisec in diff
Timer return how manu sec passed in the day
hour=timer/3600
minute=(timer mod 3600) / 60
second=((timer mod 3600) mod 60)
milisec=clng(timer)-timer
Reputation Points: 10
Solved Threads: 10
Junior Poster in Training
omoridi is offline Offline
72 posts
since Sep 2009
Oct 15th, 2009
0
Re: Visual Basic Timer/Clock/Countdown.
Calculator overview
You can use Calculator to perform any of the standard operations for which you would normally use a handheld calculator. Calculator performs basic arithmetic, such as addition and subtraction, as well as functions found on a scientific calculator, such as logarithms and factorials.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
gkhfv,h@ is offline Offline
1 posts
since Oct 2009
Dec 15th, 2009
0
Re: Visual Basic Timer/Clock/Countdown.
[LIST]
[/
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. <ul><li><ul><li><ul><li><ul><li><ol style="list-style-type: decimal"><li><ol style="list-style-type: decimal"><li><ol style="list-style-type: decimal"><li><ol style="list-style-type: decimal"><li><ol style="list-style-type: decimal"><li>LIST]</li>
  2. </ol></li>
  3. </ol></li>
  4. </ol></li>
  5. </ol></li>
  6. </ol></li>
  7. </ul></li>
  8. </ul></li>
  9. </ul></li>
  10. </ul>
  1. baz
Reputation Points: 10
Solved Threads: 0
Newbie Poster
marc badz is offline Offline
1 posts
since Dec 2009
May 22nd, 2010
0

timer control code plz

i need timer code in test to limit the time for 1hour
how can i do this?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
eng7asebat is offline Offline
6 posts
since May 2010
May 23rd, 2010
0
Re: Visual Basic Timer/Clock/Countdown.
create a timer with interval 1000
and check in timer event
time is yours or not.

like t is your time = 9:00 pm
if time >=t then
ok
Reputation Points: 10
Solved Threads: 10
Junior Poster in Training
omoridi is offline Offline
72 posts
since Sep 2009
May 24th, 2010
0
Re: Visual Basic Timer/Clock/Countdown.
@ omoridi
i can't understand
plz explane more
i have a timer and make interval 1000 but this 1min because it by millisecond

but what "yours" and what should i make ... i don't understand

hint:i'm will use it in ASP.net with VB
Reputation Points: 10
Solved Threads: 0
Newbie Poster
eng7asebat is offline Offline
6 posts
since May 2010
May 24th, 2010
0
Re: Visual Basic Timer/Clock/Countdown.
do you want run a job at after 1 hour from now? it's ok?
for example now is 10:32 am
so you must have a jobtime equal with now+1 hour
so
JobTime=11:30 am
Ok
now you need a timer with interval 1000 (1 s) or 30000 (30s) in timer event
you must check if now bigger or equal Jobtime do your commands.
if Now>= JobTime and JobTime<>0 then
Call Job1 'its your job sub
JonTime=0
end if
that's it.
Reputation Points: 10
Solved Threads: 10
Junior Poster in Training
omoridi is offline Offline
72 posts
since Sep 2009

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: how to install my program
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: How to Convert Dotted Decimal to Binary and Vice Versa in VB6





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


Follow us on Twitter


© 2011 DaniWeb® LLC