English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Im doing a program that requires a password and Ive got the password sorted etc. but when I input my password into the TextBox2 (password box) it shows up as text.
I want it to display as ******* instead but for the program to still be able to read the original text.
Is there a way I can do this?
And if so how?

Code or links please.
Visual Basic.Net

2007-03-03 08:20:06 · 4 answers · asked by sbraidley 3 in Computers & Internet Programming & Design

4 answers

No, you don't need an InputMask.
There is a property of the textbox called "PasswordChar". Enter a "*" into it and you will only see **** when you type text. You can use any other character if you want.

Good luck
M.

2007-03-03 08:29:50 · answer #1 · answered by Martin G. 4 · 1 0

first of all, you're able to be able to desire to settle on on an exact form of characters. whilst you're making a password generator, then set it to to what you decide on it to be precisely. Secondly, based on your standards, your minimum is 9 characters not 6. What you're able to be able to desire to do is create 3 counters one for all of the three standards, then whilst the character suits the factors you upload one to the counter. as quickly as each and all of the characters have been randomly created, you basically verify that each and each counter is greater than 2.

2016-10-17 04:52:34 · answer #2 · answered by Anonymous · 0 0

You need to use an Input Mask

look on www.xtremevbtalk.com

2007-03-03 08:23:14 · answer #3 · answered by spikey_richie 2 · 0 0

textbox1.PasswordChar="*"

2007-03-03 09:58:39 · answer #4 · answered by Zlavzilla 3 · 0 0

fedest.com, questions and answers