Saving and Loading Variables for Username and passwords

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Minkle555
    New Member
    • Mar 2007
    • 2

    Saving and Loading Variables for Username and passwords

    Hi, i am trying to create a program that needs to be logged into before you can access the functions. The user currently has to enter a username and password.
    However, if they would like change their username and password; i've tried using variables to store the details but am unaware of how to save and load the variables - if they are not saved and loaded they will reset to blank when the program is turned off then on on.
    The variables are Called Uname for the username and Pword for the password and are both strings.
    I am using Windows XP on a desktop computer.
    Microsoft Development Envirnoment 2003 version 7.1.3088
    Microsoft Visual Basis .Net.
  • shweta123
    Recognized Expert Contributor
    • Nov 2006
    • 692

    #2
    Hi,

    You can store the UserName and Password in a textFile when for the first time user enters it or changes it next time.Everytime the application is started they are checked against the textFile.

    Comment

    • computerenigma13
      New Member
      • Mar 2007
      • 36

      #3
      or if you have a data base you can use the data base and SQL queries

      Comment

      • Minkle555
        New Member
        • Mar 2007
        • 2

        #4
        Thanks for the help i am currently working on a database project so i will do it that way

        Comment

        Working...