?
Solved

Inputbox and password mask

Posted on 2001-08-24
10
Medium Priority
?
600 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 15

Accepted Solution

by:
ameba earned 800 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
 

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

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month8 days, 23 hours left to enroll

621 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