Alpha Video Training
Results 1 to 3 of 3

Thread: Password Generator

  1. #1
    Member Jerry Gray's Avatar
    Real Name
    Jerry Gray
    Join Date
    Aug 2004
    Location
    Biloxi, MS
    Posts
    482

    Default Password Generator

    I created a password generator for my application. The attached is a small database with 2 files, 3 forms and 2 scripts.

    The intent of the code was to generate a semi-pronounceable password with options for length of 6, 7 or 8 characters.

    The Make_My_Pass form shows how to retrieve the selected password from the Xdialog box.

    The Make Pass form is a form version of the Xdialog box.

    The Pass_Gen form is an expanded version of the Make Pass form showing the different random numbers that are used to create the passwords.

    The Make_Passes script generates the passwords.
    The Make_Pass_Box script creates the Xdialog box and returns the selected password via the variable Pass_Pass.

    The database file Syl_Three is a table of 3 letter words (1229 entries).
    The database file Syl_Two is a table of 2 letter syllables (120 entries).

    I left out the number 1 and number 0 to avoid confusion with the letters I and O. I chose not to use upper case letters for simplicity.

    Thanks to Cal Locklin for reviewing the code and making the final tweaks.

    If you need a password generator, this code will give you a place to start or you can use it as is.

    Enjoy,
    Jerry Gray

  2. #2
    Member Jerry Gray's Avatar
    Real Name
    Jerry Gray
    Join Date
    Aug 2004
    Location
    Biloxi, MS
    Posts
    482

    Default RE: Password Generator

    I've added this to my production database. Further testing reveals that the 5th password is always passed regardless of the selection made.

    Debug shows that the variable vSelect does have the correct value but the Case Select statement ignores the value and defaults to the 5th password for passing.

    When I find the fix, I'll post it as a followup.

    Jerry Gray

  3. #3
    Member Jerry Gray's Avatar
    Real Name
    Jerry Gray
    Join Date
    Aug 2004
    Location
    Biloxi, MS
    Posts
    482

    Default RE: Password Generator

    Now works as advertised. Again, thanks to Cal Locklin for the final tweaks.

    Jerry Gray

Similar Threads

  1. Password Generator
    By Jerry Gray in forum Alpha Five Version 6
    Replies: 2
    Last Post: 07-01-2005, 01:29 PM
  2. Label Generator!
    By Andy Dibble in forum Alpha Five Version 6
    Replies: 8
    Last Post: 11-14-2004, 07:41 PM
  3. Help Documentation Generator
    By mronck in forum Archived Wishlist
    Replies: 0
    Last Post: 10-26-2004, 09:13 PM
  4. Report Generator
    By jiminy91 in forum Alpha Five Version 5
    Replies: 17
    Last Post: 04-22-2004, 06:52 AM
  5. Need a passcode generator?
    By Bob Houle in forum Alpha Five Version 4
    Replies: 0
    Last Post: 07-04-2001, 10:14 AM

Bookmarks

Posting Permissions

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