VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Wait a length of time in ms

by Stephane Zeitoun (1 Submission)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 7th May 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Wait a length of time in ms

API Declarations


'use wait(10) to wait during 10 ms

Dim flgwait As Boolean


Rate Wait a length of time in ms



flgwait = False
twait.interval = temps_ms
twait.Enabled = True
While flgwait = False
DoEvents
Wend
End Sub

Private Sub twait_Timer()
twait.Enabled = False
flgwait = True
End Sub

Download this snippet    Add to My Saved Code

Wait a length of time in ms Comments

No comments have been posted about Wait a length of time in ms. Why not be the first to post a comment about Wait a length of time in ms.

Post your comment

Subject:
Message:
0/1000 characters