-=PCTechTalk=- Re: TimerObject

I can't follow the code that you sent, geekette - that's way
outside my realm, I'm afraid.LOL

I have suggested that he rename the folder - I like adding a
string of x's (6-10) because I tend to forget that I've changed a
folder/file name. A row of x's reminds me when I come across it
sometime later, and they're easier to find.  I don't really know
whether this is a good idea or not, but it seems to work for me! 
I think he will be safe enough to try that. I'm not even really
sure that I know what his system is - I only recall that he does
some CAD work. Win98SE is his OS as I recall.

Thanks for your reply.

Rick

geekette wrote:
> 
> A TimerObject is basically a clock. I do not have it on my computer, but
> I have no way of knowing if it is required for a program on your
> brother's computer or if it is a junk folder left by something that has
> been deleted.
> 
> If you are unsure what program it is associated with or if you can
> delete it without deleterious effects, rename it something like
> "oldTimerObject."  If nothing malfunctions over a reasonable length of
> time, then you can probably delete it. If you or he have something
> generating error codes consistently, rename it to "TimerObject."
> 
> Here is a sample of code from MSDN that shows a TimerObject in use:
> 
> Option Explicit
> 
> Private Declare Function SetTimer Lib "user32" (ByVal hWnd As Long, _
>     ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As
> Long) _
>     As Long
> Private Declare Function KillTimer Lib "user32" (ByVal hWnd As Long, _
>     ByVal nIDEvent As Long) As Long
> Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" ( _
>     pDest As Any, pSource As Any, ByVal ByteLen As Long)
> 
> Public gcTimerObjects As Collection
> 
> Private Sub TimerProc(ByVal lHwnd As Long, ByVal lMsg As Long, _
>     ByVal lTimerID As Long, ByVal lTime As Long)
> 
>     Dim nPtr As Long
>     Dim oTimerObject As objTimer
> 
>     'Create a Timer object from the pointer
>     nPtr = gcTimerObjects.Item(Str$(lTimerID))
>     CopyMemory oTimerObject, nPtr, 4
>     'Call a method which will fire the Timer event
>     oTimerObject.Tick
>     'Get rid of the Timer object so that VB will not try to release it
>     CopyMemory oTimerObject, 0&, 4
> End Sub
> 
> Public Function StartTimer(lInterval As Long) As Long
>     StartTimer = SetTimer(0, 0, lInterval, AddressOf TimerProc)
> End Function
> 
> Public Sub StopTimer(lTimerID As Long)
>     KillTimer 0, lTimerID
> End Sub
> 
> Public Sub SetInterval(lInterval As Long, lTimerID As Long)
>     SetTimer 0, lTimerID, lInterval, AddressOf TimerProc
> End Sub
> 
> ----- Original Message -----
> From: DH (Rick) Holmes
> To: PCTechTalk
> Sent: Friday, June 28, 2002 11:29 PM
> Subject: -=PCTechTalk=- TimerObject
> 
> TimerObject is a folder on my brothers computer and he is asking
> me if he can delete it.  A search reveals, to my simple mind, that
> it is something to do with activating advertising banners.
> 
> Is it a required folder can I find out, please?
> 
> To unsub or change your email settings:
> http://www.freelists.org/webpage/pctechtalk
> 
> To access our Archives:
> http://groups.yahoo.com/group/PCTechTalk/messages/
> http://www.freelists.org/archives/pctechtalk/
To unsub or change your email settings:
http://www.freelists.org/webpage/pctechtalk

To access our Archives:
http://groups.yahoo.com/group/PCTechTalk/messages/
http://www.freelists.org/archives/pctechtalk/

Other related posts: