Jump to content

Passwords

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
6 replies to this topic

#1
travy92

travy92

    Learning Programmer

  • Members
  • PipPipPip
  • 76 posts
Does anyone know how to make text appear as ***** when you type it in a text box? Exactly like a password cover thing...

Thanks..
[SIGPIC]C:\Users\Travis\Desktop\Image Converter\Knight1.bmp[/SIGPIC]

#2
pds2ect

pds2ect

    Newbie

  • Members
  • Pip
  • 5 posts
You have to use a MaskedTextBox

In the properties of the MaskedTextBox, scrolldown to PasswordChar and insert an * into its property field.

When you type into the MaskedTextBox the characters will appear as **********

#3
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Well a normal texbox is used and just set the passwordchar. I never heard/used MaskedTextBox :S

#4
pds2ect

pds2ect

    Newbie

  • Members
  • Pip
  • 5 posts
I am using visual studio 2005, I take it your using vb 6

#5
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Ow that is why, but travy usually uses VB6

#6
travy92

travy92

    Learning Programmer

  • Members
  • PipPipPip
  • 76 posts
Oh sorry guys i forgot to say i use VB 6.0.

P.S - Thanks for the help!
[SIGPIC]C:\Users\Travis\Desktop\Image Converter\Knight1.bmp[/SIGPIC]

#7
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Don't worry.. I know your taste.. VB 6.0 ;) advise me when changing languages!