Disasterpiece
Freshman
I have a login form with username and PW textboxes and I want to pass the username into a variable on another form.
However when I try to test to make sure it's working it outputs nothing in my test label.
I have my Username Textbox set to public so I don't know why this isn't working...
Here is my code, what's wrong!!?
Thanks
However when I try to test to make sure it's working it outputs nothing in my test label.
I have my Username Textbox set to public so I don't know why this isn't working...
Here is my code, what's wrong!!?
Visual Basic:
Public frmLoginInstance As New frmLogin()
Public strUsername As String = CStr(frmLoginInstance.txtUserName.Text)
Thanks