Re: Active X Timer Control
- From: mr_unreliable <kindlyReplyToNewsgroup@xxxxxxxxxxx>
- Date: Fri, 26 Aug 2005 13:25:24 -0400
hi Helen,
As best I can tell, the ms timer routine you are looking for is ieTimer.ocx. This timer was distributed by ms, and was included
in various ms products. If you google it, you can find some download
sites, which will supply it (most charge a fee). As far as ms itself,
I believe they regard ieTimer.ocx as obsolete.
As you probably know, IE itself has a built-in timer, and so any actX object is no longer needed.
If you are writing a stand-alone script and need a timer, I would
suggest Steve McMahon's sSubTmr.dll (free). While it is generally
touted for subclassing, sSubTmr also has an easy-to-use (from script) timer class.
--- <snip> ---
Const tInterval = 2000 ' timer interval
Set oTMR = WScript.CreateObject("SSubTimer.CTimer", "oTMR_")oTMR.Interval = tInterval ' turn on timer...
...
oTMR.Interval = 0 ' turn off timer...
Set oTMR = nothing ' clean up object (not necessary if you trust microsoft to clean up)...
WScript.Quit
' --- TIMER EVENT HANDLER ------------------------
Sub oTMR_ThatTime ' timer event...
MsgBox("detected timer event")
End Sub
--- </snip> ---If interested, sSubTmr.dll may be found here:
http://www.vbaccelerator.com/home/VB/Code/Libraries/Subclassing/SSubTimer/VB6_SSubTmr_Binary.asp
cheers, jw ____________________________________________________________
You got questions? WE GOT ANSWERS!!! ..(but, no guarantee the answers will be applicable to the questions)
HoM wrote:
Hi,
silly question, but where can I download/purchase the Microsoft ActiveX Timer control. Need to use a timer client-side object with some VB script. Documentation mentioned Active X controls - specifically the Active X Timer control....it stated this could be found on the Microsoft ActiveX Software Development Kit. No idea where this is though...Can anyone point me in the right direction?
Thanks,
Helen
.
- References:
- Active X Timer Control
- From: HoM
- Active X Timer Control
- Prev by Date: Re: Import NS bookmarks script
- Next by Date: windows styles and visual effects
- Previous by thread: Active X Timer Control
- Next by thread: Pushing onto an array
- Index(es):
Relevant Pages
|