Chciałbym nie używać wielu Timerów i po prostu pomiędzy czynnościami wpisywać Sleep(5000) itp
lecz nie wiem co robię źle...
Option Explicit On
Public Class Form1
Private Declare Sub Sleep Lib "kernel32.dll" (ByVal dwMilliseconds As Long)
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
MsgBox("aaa")
Sleep(5000)
MsgBox("bbb")
End Sub
End Class
po 5 sekundach czekania wywala błąd..