help on login

seanvoth

Well-known member
Joined
Aug 5, 2006
Messages
58
Programming Experience
1-3
i have a form and on this form i have a button and a text box
i want to so when i type in my name "sean" then i click on the button then a message box will show up and say "hello sean" and if you type in a other name or something eles it will say sorry unvailed an u help:confused: :mad: :eek:
 
VB.NET:
Expand Collapse Copy
Private Sub Button1_Click (...) Handles Button1.Click
  If Textbox1.Text.ToLower = "sean" Then
    Messagebox.Show("hello sean")
  Else
    Messagebox.Show("sorry unvailed")
  End If
End Sub


and you havent googled this have you?
 
Back
Top