Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: 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 at 15-Dec-12 23:43pm
   
Elaborate your question...
-Krunal R.
Anaya Upadhyay at 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 at 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 at 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
0 OriginalGriff 195
1 ProgramFOX 130
2 Maciej Los 105
3 Sergey Alexandrovich Kryukov 105
4 Afzaal Ahmad Zeeshan 82
0 OriginalGriff 6,564
1 Sergey Alexandrovich Kryukov 6,048
2 DamithSL 5,228
3 Manas Bhardwaj 4,717
4 Maciej Los 4,150


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