• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 601
  • Last Modified:

Inputbox and password mask

Anyone know how I can have the input of an inputbox be masked as a password?
0
lumpy304
Asked:
lumpy304
1 Solution
 
Suat OzgurWeb / Application DeveloperCommented:
to create your own inputbox with a form and PasswordChar="*" text box on it.

suat
0
 
PBuckCommented:
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.
0
 
Suat OzgurWeb / Application DeveloperCommented:
you can also check this to see this answer's certainty.

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

suat
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
amebaCommented:
No need to build your own Inputbox.  I tested this code:
http://www.freevbcode.com/ShowCode.Asp?ID=1214 

and it worked OK.  Thanks for the feedback!
0
 
Suat OzgurWeb / Application DeveloperCommented:
this is good.

Congratulations

suat

0
 
lumpy304Author Commented:
Works great ameba
0
 
amebaCommented:
Thank you.
And extra points, hehe.
0
 
Suat OzgurWeb / Application DeveloperCommented:
to ameba:

Please check this question.

http://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
0
 
amebaCommented:
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.
0
 
Suat OzgurWeb / Application DeveloperCommented:
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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now