Click here to Skip to main content
12,943,528 members (59,395 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I need to show an inputbox before opening a form so as to hide it from others. I want the text of the inputbox to be a password character (*).

How to accomplish?
Posted 15-Dec-12 17:39pm
Krunal Rohit 15-Dec-12 23:43pm
Elaborate your question...
-Krunal R.
Anaya Upadhyay 16-Dec-12 4:32am
I want an asterisk while typing in my Inputbox.

Is it clear enough?
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Please try TextBox2.PasswordChar property

Please refer this link for a sample app.[^]

If you are not looking for this, please elaborate your scenario ...
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

If I understand clearly, my Answer is
Just Design Your OWN input box, Display the same whenever necessary,
to Show Form as Dialog box...
Anaya Upadhyay 17-Dec-12 2:58am
Okay i agree to your answer, but it's for one use so i don't think this would be effective.
Please suggest any other ideas...
Ashok19r91d 17-Dec-12 3:08am
I'm Just Using above said method on my Projects, Works fine...
You Just Show the form whenever necessary and Applicable...
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

TextBox1.PasswordChar = "*";

like this ???

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 4,643
CHill60 2,970
Maciej Los 2,348
Jochen Arndt 1,900
ppolymorphe 1,765

Advertise | Privacy | Mobile
Web01 | 2.8.170518.1 | Last Updated 17 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100