Quote:
Originally Posted by Shasur
Can you try
System.Threading.Thread.Sleep(1000)
it will pause for 1000 milliseconds
Cheers
Shasur
|
That is a great final answer but for educational purpose here is a method you can play with.
Code:
Sub Nap(NapDuration as DateTime)
Dim t1 as DateTime = Now
Dim t2 as DateTime
While (t2 < t1 + NapDuration)
t2 = Now()
End While
End Sub