Results 1 to 3 of 3

Thread: [RESOLVED] Save text (data)-

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2008
    Posts
    142

    Resolved [RESOLVED] Save text (data)-

    Vb.net 2008
    I create registration user name and password project with Login form
    using code: My.Setting.....

    My question when I wrote the username and password in TextBoxes . I want when checked CheckBox to save UserName and PassWord to Login again automatically.
    I hope I'm clear

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Save text (data)-

    Test the Checked property of the CheckBox and, if it's True, assign the Text property values of the TextBoxes to the My.Settings properties. That's all there is to it: four lines of code.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2008
    Posts
    142

    Re: Save text (data)-

    thank you for help!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width