Results 1 to 5 of 5

Thread: Password

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2000
    Posts
    55
    hi

    i want my app to remember one (and only one) user password that he wont need to enter it every time he runs the app. (like when i want to get my email, the app knows automatically what's my password)
    i dont want to use a temporary file to save his password in it.
    what's the best way to do it?

  2. #2
    Addicted Member
    Join Date
    Jun 1999
    Location
    Los Angeles
    Posts
    186
    Write the password to the property bag, then read the password property on form load.

    André

  3. #3
    Junior Member
    Join Date
    Jun 2000
    Location
    Manchester, England
    Posts
    28
    You could write to the registry using SaveSetting and then retrieve it using the GetSetting function
    We watch in reverence as Narcissus is turned to a flower.

  4. #4

    Thread Starter
    Member
    Join Date
    Jun 2000
    Posts
    55
    i didn't understand what property bag is
    and how do i use it

  5. #5
    Addicted Member LAURENS's Avatar
    Join Date
    Jan 2000
    Location
    Utrecht, the Netherlands
    Posts
    138

    I think you have to create a password object before you can make use of a property bag.

    Storing in the registry might be sufficient, it will put the password in HKEY_CURRENT_USER so NT will save it on the network for you, hence it will also work when you login on a different workstation. You need to encrypt your password before writing it to the registry and decrypt it after reading, but that goes without saying.

    Regards,
    Laurens

    Using VB5 Enterprise edition SP3
    VB6 Enterprise edition SP5

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