Solved

Inputbox and password mask

Posted on 2001-08-24
10
576 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
ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 
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
 

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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

821 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