Once an for all, GetTickCount has absolutely ****all to do with a timer 
Adding a timer in a DLL, is slightly more complicated as you are required to add API commands to you code...
In a module called modTimers, add the following:
VB Code:
Option Explicit
Private mcolTimers As Collection
Public Sub Timer_CBK(ByVal hWnd As Long, ByVal uMsg As Long, ByVal idEvent As Long, ByVal SysTime As Long)
Dim objTimer As clsTimerObject
Set objTimer = mcolTimers.Item(idEvent & "K")
objTimer.RaiseTimerEvent
Set objTimer = Nothing
End Sub
Public Sub AddTimer(ByRef pobjTimer As clsTimerObject)
If mcolTimers Is Nothing Then
Set mcolTimers = New Collection
End If
mcolTimers.Add pobjTimer, pobjTimer.Key
End Sub
Public Sub RemoveTimer(ByVal pstrKey As String)
mcolTimers.Remove pstrKey
If mcolTimers.Count = 0 Then
Set mcolTimers = Nothing
End If
End Sub
Then, in a class module called clsTimerObject:
VB Code:
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
Public Event Refresh()
Private mlngTimerID As Long
Friend Property Get Key()
Key = mlngTimerID & "K"
End Property
Public Sub StartTimer(ByVal plngInterval As Long)
If mlngTimerID = 0 Then
mlngTimerID = SetTimer(0, 0, plngInterval, AddressOf Timer_CBK)
AddTimer Me
End If
End Sub
Public Sub StopTimer()
If mlngTimerID > 0 Then
KillTimer 0, mlngTimerID
RemoveTimer Key
mlngTimerID = 0
End If
End Sub
Private Sub Class_Terminate()
StopTimer
End Sub
Friend Sub RaiseTimerEvent()
RaiseEvent Refresh
End Sub
Then in the class you want to have a timer running add the following
VB Code:
Dim WithEvents mobjTimer As clsTimerObject
Public Sub StartTimer()
Set mobjTimer = New clsTimerObject
mobjTimer.StartTimer 1000 'in ms
End Sub
Private sub mobjTimer_Refresh()
'code here that you want to get repeated every interval
End Sub
Private Sub Class_Terminate()
mcolTimer.StopTimer 'This must be run to terminate the timerobject
Set mcolTimer = Nothing
I hope this helps...
Woka 
End Sub