Code that ask user for a password before it runs..
To add to this (and answer Steve's ponderence):
If you set the PasswordChar property of the TextBox to "*", for example,
it will mask out the text they type - just like a grownup program!
e.g. TextBox1.Passwordchar = "*"
STEVE BELL wrote:
And you can do something similar with a user form with a text box.
Except you can make the fore (font) color and back color both white, or
black, or ....
so that no one can see what is being typed.
Used to know how to make the font appear as *****, but can't find my
reference
maybe some one else can remember how to do that...
|