Link to home
Start Free TrialLog in
Avatar of lumpy304
lumpy304

asked on

Inputbox and password mask

Anyone know how I can have the input of an inputbox be masked as a password?
Avatar of Suat M. Ozgur
Suat M. Ozgur
Flag of United States of America image

to create your own inputbox with a form and PasswordChar="*" text box on it.

suat
Avatar of PBuck
PBuck

Sorry friend ... you going to have to create your own as far as I know - this would be easy enough to make it even look the same.
you can also check this to see this answer's certainty.

http://www.mvps.org/access/general/gen0020.htm

suat
ASKER CERTIFIED SOLUTION
Avatar of ameba
ameba
Flag of Croatia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
this is good.

Congratulations

suat

Avatar of lumpy304

ASKER

Works great ameba
Thank you.
And extra points, hehe.
to ameba:

Please check this question.

https://www.experts-exchange.com/jsp/qShow.jsp?qid=20184397

May be you know the way to do it in VBA. I couldnot do that.

regards
suat
Access, hmm... not my field, sorry.

Maybe App.Title is wrong... try vbNullString instead of App.Title (you must use vbNullString,  ""  won't work)

    EditHwnd = FindWindowEx(FindWindow("#32770", vbNullString), _
       0, "Edit", "")

Or maybe Access doesn't allow any event when InputBox is shown.

If user doesn't use APIs, I think the best is to create his own Dialog form.
I think there is a problem around using FindWindow end also Ex API. I used ActiveForm.hwnd and hWndAccessApp also but doesnot work.

I agree with you about dialog form.

Thanks for reply.
suat