about password

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Miton Nath
    New Member
    • Jun 2007
    • 1

    about password

    Please Help

    In my application I need the user to type their password everytime they
    perform a certain task. I am using the inputbox function for this but anyone
    looking over their shoulder can read their password as they type. Is their a
    way I can cause a * to show instead of the actual letters?

    Thanks in advance.

    Miton Nath
  • improvcornartist
    Recognized Expert Contributor
    • May 2007
    • 303

    #2
    Try setting the PasswordChar property.

    Code:
    TextBox.PasswordChar = "*"

    Comment

    • debasisdas
      Recognized Expert Expert
      • Dec 2006
      • 8119

      #3
      Instead of using a Inputbox ,accept the password through a textbox and set the password character property to "*".

      It is not possible in a inputbox.

      Comment

      • ansumansahu
        New Member
        • Mar 2007
        • 149

        #4
        Originally posted by Miton Nath
        Please Help

        In my application I need the user to type their password everytime they
        perform a certain task. I am using the inputbox function for this but anyone
        looking over their shoulder can read their password as they type. Is their a
        way I can cause a * to show instead of the actual letters?

        Thanks in advance.

        Miton Nath
        Hi ,

        Yes use the TextBox and set the "PasswordCh ar" property to "*".

        goodluck
        -ansuman sahu

        Comment

        Working...