Hi,

does somebody knows how to convert the password input so it does not appear to the screen as what we type and it appears as special characters like******.

thanks!

Recommended Answers

All 5 Replies

You can either set it through the textbox properties by selecting "PasswordChar" and type in * or whatever character you would like, or you can do it through code as in -

Text1.PasswordChar = "*"

Thanks AndreRet!

Only a pleasure. Happy coding.

change the passwordchar to " * " in the property window of txtbox then thats it.

Hi,

does somebody knows how to convert the password input so it does not appear to the screen as what we type and it appears as special characters like******.

thanks!

It's simple.
Click on the Text box where you type the Password. Under Properties You'll find Password Char. There you may type whatever the letter/symbol you like to assign for that Text Box.

Run the Prj. and type inside the Text Box and seeeeeee.
But, make sure to limit the Character length at Maximum Length under Properties.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.