Link to home
Start Free TrialLog in
Avatar of aagb
aagb

asked on

hiding passcodes in text boxes

hi there,

i am quite new to VB and have managed to create a code that will ask for user passcode in order to log in to the application. the problem now is how do i make it possible that the code eg "123456", is shown as "******" in the text box for security purposes?

thanks in advance

aagb
Avatar of Jacamar
Jacamar

Text1.PasswordChar = "*"
ASKER CERTIFIED SOLUTION
Avatar of Jacamar
Jacamar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

the textbox has a property called "passwordchar". just fill in a * or any other character you want and the textbox will show that instead of the character you really typed.
cheers
Avatar of aagb

ASKER

am very grateful! it works like magic!!!