akv06
2010-06-30 21:09:52 UTC
I have a Form (Form1) and a Label (Label1).
Default: Label1.Text = "aaa"
My main objective is to change Label1.Text = "bbb" 5 sec after form load.
This is my code so far:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
System.Threading.Thread.Sleep(5000)
Label1.Text = "bbb"
End Sub
However, what happen is: the form ONLY appear after 5 sec with Label1.Text = "bbb".
I don't want this.
What I want is: right after I run the project, the form will APPEAR with Label1.Text = "aaa", then after 5 sec, Label1.Text = "bbb".
Is there any function like: Private Sub Form1_AfterLoad(ByVal...) or something?
I don't find any in the function list.
*I don't want to use Timer! Unless that is the very last thing I have to use.
Please help~~~
.