Solved

input box with passwords

Posted on 2001-09-18
8
310 Views
Last Modified: 2012-08-14
I am using the following code in a onclick command of a button to pop up an input box.

I need this input box to show ****** asterisks when the person types in their password to open the form, is there anyway to do this in access 2000 and 97

here is the code that I am using


strMsg = "Please enter your password to add a part."
    strInputPassword = InputBox(Prompt:=strMsg, TITLE:="Password Required", XPos:=2000, YPos:=2000)

0
Comment
Question by:Rachy222
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 6491343
change the InputMask property of the TextBox to Password.
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 6491347
You cannot do this using an InputBox command, however.  You will need to create your own Dialog form, to implement the Password Mask on a textbox.
0
 
LVL 54

Expert Comment

by:nico5038
ID: 6491378
As Arthur states, this mask can't be used for an input box.
I would advise to create a function that displays a modal  pop-up form for the password (no userID required?) and that returns a boolean value (OK/NotOK) to use in your startup form's open event.

Nic;o)
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 1

Author Comment

by:Rachy222
ID: 6491617
nico,

I have never made a function like this, can you include code and more specific instructions , please ,

thanks
0
 
LVL 17

Expert Comment

by:Suat Ozgur
ID: 6491801
Actually expert ameba had a link to do that in VB but i couldnot run it in VBA.

http://www.freevbcode.com/ShowCode.asp?ID=1214&NoBox=True

Related question :

http://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20173715

It is great way to do it in VB.

(This comment is just to share the links about Inputbox and PasswordChar.)

regards
suat
0
 
LVL 54

Accepted Solution

by:
nico5038 earned 50 total points
ID: 6491819
Hi Rachel,

I dropped a form sample in your mailbox.
It's based on a value-list combobox with both userID and password.

Clear ?

Nic;o)
0
 
LVL 52

Expert Comment

by:Ryan Chong
ID: 6493161
<listening..>
0
 
LVL 1

Author Comment

by:Rachy222
ID: 6493680
thank you very much
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

707 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