Results 1 to 3 of 3

Thread: Login for program

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    8

    Login for program

    i am creating a program that requires a login but dont know how to save a password and username. i would like this program to be self contained. i would like an administrator to be able to add usernames. i have very limited programming experience so complex code means little to me.

  2. #2
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Re: Login for program

    ...more complex code ~ better code...

    You have more options...

    - save each "account" to the registry
    - ... to a file/database...
    - encrypt it or not...

    You'll need to decide the way to go before you even start thinking about the code...

  3. #3
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Login for program

    You can store it directly in the EXE file, which makes it work on all systems, and prevents you from having to distribute a password file with it.

    I would recommend encrypting it though, otherwise it's plain as day if someone views the EXE in notepad, or a hex editor.

    http://www.vbforums.com/showthread.php?t=432537

    Also, I've recently found a much easier way to do it, so you may want to check back there in a day or two for when I update the code.

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