By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,986 Members | 1,522 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,986 IT Pros & Developers. It's quick & easy.

password on inputbox?

P: 55
Hi.

I want the user to input a password on an inputbox. How do I make this without showing the actual password? In textboxes you can set the view to all ********. How do I do this in inputboxes?
Nov 23 '07 #1
Share this Question
Share on Google+
11 Replies


Expert 5K+
P: 8,434
... In textboxes you can set the view to all ********. How do I do this in inputboxes?
You can't. The Inputbox() function shouldn't even be used in a real application. It's just a "quick and dirty" way to grab something from the user, really only appropriate for use during development or in things like a utility you will just use yourself.
Nov 23 '07 #2

chandru8
100+
P: 145
hi
By adding Pcomm autsystem reference , you ill get an input box while typing the charactes will display as ************

thanks
Nov 23 '07 #3

debasisdas
Expert 5K+
P: 8,127
You can design a small form of the size of inputbox for the same functionality there you can use textbox with password character.
Nov 23 '07 #4

lotus18
100+
P: 866
You can design a small form of the size of inputbox for the same functionality there you can use textbox with password character.
Hi jaz215

I agree with debasisdas. You can design any thing you want with your form better than using an inputbox.

I think a lot of people will not agree with me, I think inputbox is obsolete : )
Nov 23 '07 #5

AHMEDYO
100+
P: 112
Hi jaz215

I agree with debasisdas. You can design any thing you want with your form better than using an inputbox.

I think a lot of people will not agree with me, I think inputbox is obsolete : )
HI..

you are right, but not just it obsolete, but with current situation, he need to print * instead of Original character, you can do that by using FindWindow and SendMessage With ES_PASSWORD Style but take in your mind that inputbox displayed as Model dialog and InputBox() function does not return until user press enter or cancel, this mean you need to create another thread before calling InputBox Function , and then use FindWindow and SendMessage Function, simply Design new form is the Best one

Kind Regards
Nov 23 '07 #6

Mohan Krishna
100+
P: 115
hi
By adding Pcomm autsystem reference , you ill get an input box while typing the charactes will display as ************

thanks
Hi Chandru!

Please tell how to add that reference!

ThanQ!
Nov 25 '07 #7

Mohan Krishna
100+
P: 115
Hi everyone!

I got a code for this which I want to share with you all...


Hope you accept it! Thank you!
Attached Files
File Type: zip PwdIpBox.zip (2.3 KB, 237 views)
Nov 25 '07 #8

P: 55
got a lot of opinions from this post :P

thanks for the help!
Nov 28 '07 #9

Expert 5K+
P: 8,434
got a lot of opinions from this post :P
Yes, we have a great supply of those. :)

Glad we could help.
Nov 28 '07 #10

jrtox
P: 89
Thanks for this one...
Jan 31 '08 #11

jrtox
P: 89
Thanks for this one

Phils. Ervin
Jan 31 '08 #12

Post your reply

Sign in to post your reply or Sign up for a free account.