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