[REQUEST]Source Code For "Remember Me" in a checkbox

Posts 1–6 of 6 · Page 1 of 1
[REQUEST]Source Code For "Remember Me" in a checkbox
Hi can anyone help me find a code for remember me? I have made a login system and i want the option for remember me for textbox1, textbox2 and textbox3. I would appreciate if anyone can help
Code:
Code for login button, or w/e.

   If CheckBox1.Checked = True Then
            My.Settings.name = TextBox1.Text
            My.Settings.password = Textbox2.text
            My.Settings.Save()
            My.Settings.Reload()
            Label1.Text = "Saved!" //optional
            Label1.ForeColor = Color.LimeGreen  //optional
        End If
Code:
Form1.load

CheckBox1.Checked = True
        TextBox1.Text = My.Settings.name
        Textbox2.Text = My.Settings.password
Note: You have to add user, and pass as strings in your settings.

Hope i helped.
doesnt work have a error while trying to debug something to do with integer
you need to define the variables under settings...if you do not know how you may refer to my tutorial below.
Quote Originally Posted by CoderNever View Post
you need to define the variables under settings...if you do not know how you may refer to my tutorial below.
What tutorial? lol.
Quote Originally Posted by hlm2 View Post
What tutorial? lol.
This one

10char.
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?