Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: MichaeL on July 29, 2004, 03:30 PM

Title: Extendedtimer.OCX
Post by: MichaeL on July 29, 2004, 03:30 PM
Hey,

 Does anyone have the Active X Control "Extended Timer". Its just a OCX that is longer than 60000 milliseconds like the normal timer. It uses minutes, and even weeks.  A link would be great :)

Edit: Please don't say www.Google.com, I've done my fair share of looking
Title: Re:Extendedtimer.OCX
Post by: Stealth on July 29, 2004, 03:38 PM
A google search for "Extended Timer" reveals http://www.codeguru.com/vb/controls/vb_activex/activex/article.php/c3501/

That looks to be exactly what you're looking for.
Title: Re:Extendedtimer.OCX
Post by: UserLoser. on July 29, 2004, 03:55 PM
What's wrong with setting it to 1ms, or 10ms, or 100ms and just adding up until it's one day, week, month, ect?
Title: Re:Extendedtimer.OCX
Post by: MichaeL on July 29, 2004, 04:00 PM
not really stealth
Ive already taken a look at that

Userloser: Too lazy
Title: Re:Extendedtimer.OCX
Post by: Eric on July 29, 2004, 04:09 PM
Or create a timer with the Windows API?
Title: Re:Extendedtimer.OCX
Post by: Lenny on July 29, 2004, 05:02 PM
IIRC, aren't high resolution timer's for extremely small intervals, much lower than miliseconds (nanoseconds)?
Title: Re:Extendedtimer.OCX
Post by: Eric on July 29, 2004, 05:22 PM
Quote from: Lenny on July 29, 2004, 05:02 PM
IIRC, aren't high resolution timer's for extremely small intervals, much lower than miliseconds (nanoseconds)?
shh, I had just woken up.  :-X
Title: Re:Extendedtimer.OCX
Post by: MyndFyre on July 29, 2004, 06:09 PM
Quote from: Lenny on July 29, 2004, 05:02 PM
IIRC, aren't high resolution timer's for extremely small intervals, much lower than miliseconds (nanoseconds)?

Skywing's High Resoultion Uptime (http://www.valhallalegends.com/skywing/) is used to track the uptime of your computer beyond the normal time limitation.

As far as I know, you can't get better resolution than 10ms on a Windows timer (at least, not guaranteed).  You might be able to write one in Assembler, but I believe it would have to be very specific to the motherboard's timer.
Title: Re:Extendedtimer.OCX
Post by: Maddox on July 29, 2004, 09:39 PM
Quote from: Myndfyre on July 29, 2004, 06:09 PM
Skywing's High Resoultion Uptime (http://www.valhallalegends.com/skywing/) is used to track the uptime of your computer beyond the normal time limitation.

There is no "normal time limitation." You're talking about the GetTickCount() limitation.
Title: Re:Extendedtimer.OCX
Post by: MichaeL on August 01, 2004, 02:59 PM
Nevermind, I found it


www.fadechat.tk