[VB.NET]Wait Function()

Discussion in 'Programming General' started by llGoHardl, Mar 26, 2012.

[VB.NET]Wait Function()
  1. Unread #1 - Mar 26, 2012 at 7:38 PM
  2. llGoHardl
    Joined:
    Mar 26, 2012
    Posts:
    38
    Referrals:
    0
    Sythe Gold:
    0

    llGoHardl Member

    [VB.NET]Wait Function()

    Private Sub wait(ByVal interval As Integer)
    Dim sw As New Stopwatch
    sw.Start()
    Do While sw.ElapsedMilliseconds < interval

    Application.DoEvents()
    Loop
    sw.Stop()
    End Sub
     
< [VB.NET]Text To Speak | Drawing in python >

Users viewing this thread
1 guest


 
 
Adblock breaks this site