2manyerrors
Programmer
Hi all, hope someone can help me here,
I'm running some codes in outlook 2003 and is getting an error. The error says that KillTimer is not defined. Can you someone help here?
My codes are below. Thanks for any help.
Dim lngTimerID As Long
Private Sub Application_Quit()
lngTimerID = KillTimer(0, lngTimerID)
End Sub
Private Sub Application_Startup()
lngTimerID = SetTimer(0, 0, 3600000, AddressOf TimerProc)
End Sub
I'm running some codes in outlook 2003 and is getting an error. The error says that KillTimer is not defined. Can you someone help here?
My codes are below. Thanks for any help.
Dim lngTimerID As Long
Private Sub Application_Quit()
lngTimerID = KillTimer(0, lngTimerID)
End Sub
Private Sub Application_Startup()
lngTimerID = SetTimer(0, 0, 3600000, AddressOf TimerProc)
End Sub