Disasterpiece
Well-known member
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 its working it outputs nothing in my test label.
I have my Username Textbox set to public so I dont know why this isnt working...
Here is my code, whats wrong!!?
Thanks
However when I try to test to make sure its working it outputs nothing in my test label.
I have my Username Textbox set to public so I dont know why this isnt working...
Here is my code, whats wrong!!?
Code:
Public frmLoginInstance As New frmLogin()
Public strUsername As String = CStr(frmLoginInstance.txtUserName.Text)
Thanks