Advertisement
2002ASP Math/ Dates #191

A Super Easy Delay Timer

A delay timer so easy, this paragraph is longer. I had to submit this easy code because it is not on this website. Uses no API, and it is very handy!!

AI

Podsumowanie AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Kod źródłowy
original-source
Private Sub Command1_Click()
 Dim Start As Long
 Start = Timer
  
  Do While Timer < Start + 3 'a 3 second delay (Change to any numer you want)
   DoEvents  ' Yield to other processes.
  Loop
  
 Beep
 
End Sub
Oryginalne komentarze (3)
Odzyskane z Wayback Machine