Text Mask Error? ****=****

  • Thread starter Thread starter aemule
  • Start date Start date
A

aemule

Guest
I search an answer to my problem, but seems i´m the only one, or i'm just to lammer.
I have a text box with a mask set to "PASSWORD".
When typing some text, guess what, shows "*********".
When trying this below i have an error:

if text1.text="something" then
do something
else
do another thing
end if

because my text1.text is equal to "*********" and not "something"
When i try to retrieve text1.text my message box show "*********"
It was supose to show "*" only in textbox not assume that the text is really "*".
Any solution? what i'm doing wrong?
 
Just have

Code:
if if text1="something" then
do something
else
do another thing
end if

That should work.

Thats what I used.
 
Thanks Crilen, you are fast,

i discover myself that "text1.text" returns "*" but text1.value returns the password without asterisks. Your method do the same.

Thanks
 

Users who are viewing this thread

Back
Top Bottom