daveofgv
Well-known member
Hello All,
I hope this is in the right forum....
I have a login form that is connected to a my.settings (internal) hashcode.
When I type the correct info in my usertextbox and passtextbox my program starts. Everything works perfect except that when I run the program again the username and password is already in the textbox's.
On another form I have a my.settings.save(). Every my.settings in my app I need to save except the login info.
Is there anything I can put on the login form to clear those two textbox's and keep everything else the same???
The code on my login form right now is:
Thanks in advanced
daveofgv
I hope this is in the right forum....
I have a login form that is connected to a my.settings (internal) hashcode.
When I type the correct info in my usertextbox and passtextbox my program starts. Everything works perfect except that when I run the program again the username and password is already in the textbox's.
On another form I have a my.settings.save(). Every my.settings in my app I need to save except the login info.
Is there anything I can put on the login form to clear those two textbox's and keep everything else the same???
The code on my login form right now is:
VB.NET:
If TextBox1.Text = My.Settings.username Then
CopyrightScreen.Show()
Else
MessageBox.Show("You entered the wrong username")
End If
If TextBox2.Text = My.Settings.password Then
CopyrightScreen.Show()
Else
MessageBox.Show("You entered the wrong password")
End If
Thanks in advanced
daveofgv
Last edited: