I have a button and when i click it, it shows a msgbox. I want it so that when i click the button, the progress bar loads to full for about 5 seconds or so, and then the msgbox is shown. This is my code for the button to show msgbox. I also want the statuslabel that goes with the progress bar to say "Checking.." when it is in the process and then say "Done" when the message box appear.
Thanks!Code:Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click MsgBox("You clicked me!") End Sub




Reply With Quote