Discussion Locked

VBScript Secure password input?

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Greetings to all. I have a five line VB script which requires password input. The script runs from a shortcut icon and uses the following line to get the password from the user:
...
pwd=inputbox("Enter Password:", "Password Required")
...
Inputbox doesn't seem to have an option to hide the password being input. Is there an alternative method of getting the input which will allow me to hide the password?

5 replies

by rakeshkanojia

Inputbox does not allow to password like field..

To achive your requirement follow:
1. Design a form in VB
2. Insert Text Field
3. Select Properties
4. Add any char in PasswordChar Property

by seagull data services

Unfortunately, this isn't an option or I'd be doing the whole lot in VB rather than VBScript.
What I need is a method of doing exactly what you describe using VBScript only.
Thanks for trying.

This discussion is closed to new replies.