VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

This code counts from one number to another at specified intervals. I didn't see this anywhere and

Rev  (4 Submissions)   Math/Dates   Visual Basic 3.0   Unknown Difficulty   Fri 11th February 2000   Mon 8th February 2021

This code counts from one number to another at specified intervals. I didn't see this anywhere and it is very usefull.

API Declarations


' It is just a standard timeout.bas

Sub TimeOut(Duration)
starttime = Timer
Do While Timer - starttime < Duration
DoEvents
Loop

End Sub

' Example :
'
' TimeOut (3)
' Waits for 3 seconds


Rate This code counts from one number to another at specified intervals. I didn't see this anywhere and (1(1 Vote))
This code counts from one number to another at specified intervals. I didn't see this anywhere and .bas

This code counts from one number to another at specified intervals. I didn't see this anywhere and Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters