Results 1 to 3 of 3

Thread: [RESOLVED] Help with PasswordChar

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2002
    Location
    UK
    Posts
    417

    Resolved [RESOLVED] Help with PasswordChar

    hi I made a form were the user can enter a password to oreform a task, anyway what I whould like to know it how can I set the PasswordChar, I mean I want to include the same PasswordChar as the one like you see when you type in the Network Dialog box like this ●●●●●● I tryed pasted the char from Character Map program into the Password Char of my text box, and also set the font to Arial, but nothing happens all it puts in is a Question mark ?
    any idea on what I maybe doing wrong.

    Thanks.
    When your dreams come true.
    On error resume pulling hair out.

  2. #2
    Fanatic Member Comintern's Avatar
    Join Date
    Nov 2004
    Location
    Lincoln, NE
    Posts
    826

    Re: Help with PasswordChar

    It's probably a unicode character, which a textbox can't display properly. You'll have to find a font that has the character you want mapped to one of the ascii character values, and use that font in the textbox. Or, you could just create a font with just that one character in it and map it to the asterisk.

    EDIT: Try using the font 'Symbol', with character code 183 ---> •
    If it doesn't find it and goes to the default, it will use the passable ---> ·
    Last edited by Comintern; Sep 2nd, 2006 at 10:56 PM.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2002
    Location
    UK
    Posts
    417

    Re: Help with PasswordChar

    Thanks Comintern,
    that has seem to work setting the font to Symbol.
    Thanks agian.
    When your dreams come true.
    On error resume pulling hair out.

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