VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

A simple Wait Function

PrixM  (2 Submissions)   VB function enhancement   Visual Basic 3.0   Beginner   Wed 3rd February 2021

Ur code waits for X seconds without stopping complete VB like most others (incl. Sleep Api)

Assumes
'Set the API Declaration and the Code into a Module 'to use the function Wait(x) x stands for the amount of seconds to wait

API Declarations
Public Declare Function GetTickCount Lib "kernel32.dll" () As Long

Rate A simple Wait Function (10(10 Vote))
A simple Wait Function.bas

A simple Wait Function Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters