Solved

Inputbox and password mask

Posted on 2001-08-24
10
575 Views
Last Modified: 2008-03-10
Anyone know how I can have the input of an inputbox be masked as a password?
0
Comment
Question by:lumpy304
10 Comments
 
LVL 17

Expert Comment

by:Suat Ozgur
ID: 6423682
to create your own inputbox with a form and PasswordChar="*" text box on it.

suat
0
 
LVL 4

Expert Comment

by:PBuck
ID: 6423684
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
 
LVL 17

Expert Comment

by:Suat Ozgur
ID: 6423693
you can also check this to see this answer's certainty.

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

suat
0
 
LVL 15

Accepted Solution

by:
ameba earned 200 total points
ID: 6423696
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
 
LVL 17

Expert Comment

by:Suat Ozgur
ID: 6423714
this is good.

Congratulations

suat

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:lumpy304
ID: 6423886
Works great ameba
0
 
LVL 15

Expert Comment

by:ameba
ID: 6423894
Thank you.
And extra points, hehe.
0
 
LVL 17

Expert Comment

by:Suat Ozgur
ID: 6491808
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
 
LVL 15

Expert Comment

by:ameba
ID: 6491924
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
 
LVL 17

Expert Comment

by:Suat Ozgur
ID: 6492008
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now