Oki here it is, this code DID work with Windows 98 and I haven't tested it with XP.
Put this in modul-section
Option Explicit
'Time Device
Public Declare Function GetTickCount& Lib "kernel32" ()
and put this in either form or module
Dim fTime As Long
fTime = GetTickCount&
And just repeat GetTickCount to get new tick, ie: 7893244643
basically it's number of ticks since 1970 1.january, and 1 tick = 1 millisecond
I hope this works for you, and remember this is VB6 code (not VB.net).
