I have this code in a module:
and this in a timer on the form:Code:Public Declare Function GetTickCount Lib "kernel32" () As Long Dim lRtrn As Long
how can I format it to look like time? ie hh:mm:ss? I've tried the format(lRtrn, "hh:mm:ss"), but it says there is an overflow. What can I do to format it?Code:lRtrn = GetTickCount Label1.Caption = lRtrn
Thanks




Reply With Quote