VBScript - Masking input in INPUTBOX
-
Ali
For the VBS/WSH experts out there...
I'm writing a script that - among other things - prompts the user for his/her password. The "InputBox" function, however, defaults to displaying the text the user is typing in ... no good for password entry :(
So I'm looking for a method/control that will allow me to prompt for text (password), but at the same time mask the user's entry (e.g., with ***).
Any ideas? Thx!
- NetARC
Posted: 2002-01-03 04:18:03 #
-
Bob Dunford
I am writing an Excel password procedure - exactly as outlined in your question. I have been to numerous sites with no answer.
I know that no one replyed to your query on this site but I would be interested if you managed to crack it.
Many thanks
Posted: 2002-09-05 13:38:57 #
-
Steven Armentrout
It cannot be done as a Wscript input box. There is a Cscript alternative but requires a special DLL from Winxp or above.
http://www.security-forums.com/forum/viewtopic.php?p=146511Posted: 2004-12-17 22:38:28.595216 #