PDA

Click to See Complete Forum and Search --> : Password InputBox


Roselene
Jan 21st, 2000, 01:52 AM
Hi, everybody!

Is there anyway to receive data using a input box, displaying each letter like a "*"?
I'd like to allow the user to enter something like a password in order to be able to proceed some actions...

Thanks in advance!
Roselene

Gimpster
Jan 21st, 2000, 01:57 AM
Yeah, just put * into the Password Char property.

------------------
Ryan

QWERTY
Jan 21st, 2000, 02:23 AM
I don't think it is possible with InputBox. The best thing to do is to create your own form, which looks like the InputBox and in textboxe's PasswordChar ... read previous post.
HTH

------------------
Visual Basic Programmer
------------------
PolComSoft
You will hear a lot about it.

IrishPride
Feb 14th, 2000, 05:14 AM
Could you send me some code on how to create your own form which resembles an input box but that has the ability to use the passwordchar property. It would be appreciated. Originally posted by QWERTY:
I don't think it is possible with InputBox. The best thing to do is to create your own form, which looks like the InputBox and in textboxe's PasswordChar ... read previous post.
HTH

Rapmaster
Feb 14th, 2000, 07:18 AM
ummm you draw the form and drop a textbox control on it, and two command buttons (OK and Cancel)

if you don't know how to make a form... you should learn that before using VB

then you put the appropriate code in each command button to pass on the contents of the textbox to wherever it is needed in your program...

------------------
Rapmaster

MartinLiss
Feb 14th, 2000, 10:21 PM
I've sent you a form that you can use for an InputBox.

------------------
Marty
What did the fish say when it hit the concrete wall?
> > > > > "Dam!"