I'm trying to create my own timer class to allow more than 64 seconds.

But I'm trying to do it without Sleep or something similar, so the thing I'm trying to do is to use the normal timer and run it a few times.

so I'm trying to do:


Dim withevents Timer1 as Timer




Works fine, but how the hell do I instanciate this thing? I mean, CreateObject("VB.Timer") doesn't work of course.

Any idea? Now I'm switching to datediff otherwise!