Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Comments
[no name] 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?
haggenx 10-Oct-20 10:03am    
You must create your own dialog to create an inputbox that allows a password field.

Please try TextBox2.PasswordChar property

Please refer this link for a sample app.

http://dotnetdud.blogspot.in/2009/06/how-to-mask-password-text-in-textboxes.html[^]

If you are not looking for this, please elaborate your scenario ...
 
Share this answer
 
If I understand clearly, my Answer is
Just Design Your OWN input box, Display the same whenever necessary,
Use
VB
frmInputBox.ShowDialog()
to Show Form as Dialog box...
 
Share this answer
 
Comments
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...
TextBox1.PasswordChar = "*";

like this ???
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900