Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: What solution for a timer with an interval > 65000 ms ?


Message #1 by philippe.fleur@l... on Tue, 15 May 2001 08:30:56
Use the Timer() function in VB
>>
Private Sub Pause(ByVal Seconds As Single)

  Dim StartTime    As Single

  StartTime = Timer
  Do While Timer < (StartTime + Seconds)
    DoEvents
  Loop

End Sub

  Return to Index