I have done this to implement a delay function:
Code:Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)But what it does is to wait 6 seconds and set label text to asd, instead of please wait -> 3sec -> test -> 3sec -> asd.Code:lblStatus.Text = "Please wait" Sleep(3000) lblStatus.Text = "Test" Sleep(3000) lblStatus.Text = "asd"
Any solutions? (using visual studio![]()