Jul 1 2008

How to hide typed passwords in a vbscript message box

If you're new here, you may want to start with my most popular posts. Then, subscribe to my RSS feed to stay updated. Thanks for visiting!

Google Query: hide password in vbscript

Sometimes you may need to prompt the user for a password in one of your vbscripts. No big deal right? It wouldn’t be except that the password can be seen in plain text as the user types it in. There is no way that I know of to hide the password typed in with regular vbscript.

Fortunately, I found a very useful function at the Quick Test Professional blog. It calls upon *shudder* Internet Explorer to create a password box for the user to type in the password. Because it uses Internet Explorer, the password field text is hidden when it is typed in. The code for the function, as well as an example of using it can be downloaded below (just change the *.txt extension to *.vbs).

Download the Script here

Technorati Tags: ,

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

1 Comments on this post


  1. Ahmad said:

    Very Good Article

    September 10th, 2008 at 5:21 am


Subscribe Form

Subscribe to Blog


Recent Readers

                  Computers Blogs - Blog Top Sites