Hey folks
iv been given a task to play about with and learn how to use visual basic express.
im currently at the start and need to code a form that a user enters there name.
i need it so that if they input numbers or nothing at all it loops until some string has been put in, but i cant figure it out. iv been reading through my book and looking on the net. this name also needs the 1st letter of each name to be a capitol letter even if its entered all in lower case. can someone help me. this is my code so far for this bit.
Where i have "String" is where i want the string command, so that if user enters 2+ String then open form 2
username = txtname.Text
Do Until txtname.Text = "String"
If txtname.Text = "" Then MsgBox(" you must enter your name")
If IsNumeric(txtname.Text) Then MsgBox(" please enter letters")
Exit Do
Loop
Me.Hide()
Form2.Show()
Thanks for your help
Adam


