
Originally Posted by
msn2
hii can annyone help me im new and amateur...
i need 2 make soemthing like wen an user enters his username on the text box.. i want after loging in
into an other panel were i have a special label 2 be writing welcom "users name"
can annyone help me on this..?
Hi,
You could try this;
VB Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Panel1.Visible = True
Label1.Text = TextBox1.Text
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Label1.Text = ("Welkom to " & TextBox1.Text)
Panel2.Visible = True
Panel1.Visible = False
End Sub
Hope it helps,
sparrow1