Hi, I have a login view (loginview1) with a button (but1) and a text box (textbox1) inside it that appears to logged in users. But when ever I write the code for the button click event it says that textbox1 is not declared. when the button is clicked I want the word in textbox1 to be stored as an String, so I'm doing this... Code: myString = TextBox1.Text But it says textbox 1 isnt declared, so I tried this... Code: myString = LoginView1.TextBox1.Text That hasnt worked, can anybody help me out please? Thanks.