Plase tell me how DELAY() function works. Is it DELAY(1000) means 1 min delay?
Amal
Printable View
Plase tell me how DELAY() function works. Is it DELAY(1000) means 1 min delay?
Amal
Sorry, no such creature. You either need to use the timer, the sleep API, or some of the other methods described in other posts. Search on delay and you will find at least 3 or 4 methods.
Well i made up a dealy function for you, it should wait t milliseconds.Code:Declare Function GetTickCount Lib "kernel32" () As Long
Function Dealy(t As Long): Dim b As Long
b = t + GetTickCount
Do Until t < GetTickCount
DoEvents
Loop
End Function
Kedaman,
It seems like you are posting that code almost every day now. This was one of the other methods to search for.
Hey, i just wrote that, really, i remember i wrote another some days ago and i tried to search first for it but i couldn't find it.