Click here to Skip to main content
12,063,445 members (74,327 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB VB.NET Forms
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 18:39pm
Comments
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
 
good
Please Sign up or sign in to vote.

Solution 1

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 ...
  Permalink  
Rate this: bad
 
good
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,
Use
frmInputBox.ShowDialog()
to Show Form as Dialog box...
  Permalink  
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...
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

TextBox1.PasswordChar = "*";
like this ???
  Permalink  

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


Advertise | Privacy | Mobile
Web02 | 2.8.160204.4 | Last Updated 17 Dec 2012
Copyright © CodeProject, 1999-2016
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