Hi Guys,
Thanks for the timing function Megatron. Works great (in the cmdStart_Click it should read (1000) not (100 0)). However, can you explain what happens here:

-----------------------------------------
Start = GetTickCount

Do While GetTickCount < Start + Interval
DoEvents
Loop
-----------------------------------------

I'm a beginner and I don't get this code.
As always.....

Thanks