<< Ytria Summer Promotion | Home | What's up with the "me too" articles on developerWorks? >>

Zzzzzz....

Mental note to self:

Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)

Private Sub DoSleep(repeat As Integer, sleep_period As Long)
   Dim i As Integer 
   
   While i < repeat
      Call Sleep(sleep_period)
      i = i + 1
   Wend
   
   MsgBox "Awoke..."
End Sub




Add a comment Send a TrackBack