728x90
Public Sub Delay(ByVal MilliSecond As Integer)
Dim _startsecond As Integer
_startsecond = Environment.TickCount
While (True)
If (Environment.TickCount - _startsecond >= MilliSecond) Then
Exit While
End If
Application.DoEvents()
End While
End Sub
Public Sub delay(ByVal MilliSecond As Double)
Dim delayTime As Date = Now.AddSeconds(MilliSecond / 1000)
Do Until Now > delayTime
Application.DoEvents()
Loop
End Sub
728x90
'자료' 카테고리의 다른 글
DD Methods (0) | 2020.07.04 |
---|---|
메이플스토리 IP (0) | 2020.06.25 |
프로그램 ANTI-DUMP 적용 (0) | 2020.06.16 |
DD.dll의 하드입력 방식 (0) | 2020.06.16 |
C# Selenium Webdriver alert창 Enter하기 (0) | 2020.06.15 |