This may be an FAQ but if it is then I have not been able
to find an answer. The question is: Is it possible to create
something similar to the InputBox function that hides the
user's password as he enters it? If so, how?

Re: Hiding a user password in VB Scripting by Anthony

Anthony
Tue Jul 24 10:32:05 CDT 2007

"Pegasus (MVP)" <I.can@fly.com> wrote in message
news:u1Ge$1fzHHA.5092@TK2MSFTNGP04.phx.gbl...
> This may be an FAQ but if it is then I have not been able
> to find an answer. The question is: Is it possible to create
> something similar to the InputBox function that hides the
> user's password as he enters it? If so, how?
>
>

Use a HTA or automate Internet Explorer to deliver you're UI. You can then
use <input type="password" />


--
Anthony Jones - MVP ASP/ASP.NET



Re: Hiding a user password in VB Scripting by S

S
Tue Jul 24 11:54:08 CDT 2007

if you use cscript there is a password object that masks input at the
commandline... no need for cheesy IE windows





"Pegasus (MVP)" <I.can@fly.com> wrote in message
news:u1Ge$1fzHHA.5092@TK2MSFTNGP04.phx.gbl...
> This may be an FAQ but if it is then I have not been able
> to find an answer. The question is: Is it possible to create
> something similar to the InputBox function that hides the
> user's password as he enters it? If so, how?
>


Re: Hiding a user password in VB Scripting by Pegasus

Pegasus
Tue Jul 24 16:33:34 CDT 2007


"Pegasus (MVP)" <I.can@fly.com> wrote in message
news:u1Ge$1fzHHA.5092@TK2MSFTNGP04.phx.gbl...
> This may be an FAQ but if it is then I have not been able
> to find an answer. The question is: Is it possible to create
> something similar to the InputBox function that hides the
> user's password as he enters it? If so, how?
>

Thanks for both replies - much appreciated.



Re: Hiding a user password in VB Scripting by papou

papou
Fri Oct 19 00:48:36 PDT 2007

Hi
This is interesting, could please give further detail?

Cordially
Pascal
"S Moran" <s@moran.com> a écrit dans le message de news:
Ol2KnNhzHHA.5992@TK2MSFTNGP02.phx.gbl...
> if you use cscript there is a password object that masks input at the
> commandline... no need for cheesy IE windows
>
>
>
>
>
> "Pegasus (MVP)" <I.can@fly.com> wrote in message
> news:u1Ge$1fzHHA.5092@TK2MSFTNGP04.phx.gbl...
>> This may be an FAQ but if it is then I have not been able
>> to find an answer. The question is: Is it possible to create
>> something similar to the InputBox function that hides the
>> user's password as he enters it? If so, how?
>>
>



Re: Hiding a user password in VB Scripting by harrykrishna

harrykrishna
Fri Oct 19 11:23:11 PDT 2007

Try this (using cscript). Enter the following 4 lines and save as
PW.VBS:

Set objPW = CreateObject("ScriptPW.Password")
WScript.StdOut.Write "Enter password "
strPassword = objPW.GetPassword()
wscript.echo "you entered : " & strPassword

Now at a command prompt type "cscript PW.VBS"

HTH

"papou" <cpapounospamthanx@laposte.netnospamthanks> wrote:

>Hi
>This is interesting, could please give further detail?
>
>Cordially
>Pascal
>"S Moran" <s@moran.com> a écrit dans le message de news:
>Ol2KnNhzHHA.5992@TK2MSFTNGP02.phx.gbl...
>> if you use cscript there is a password object that masks input at the
>> commandline... no need for cheesy IE windows
>>
>>
>>
>>
>>
>> "Pegasus (MVP)" <I.can@fly.com> wrote in message
>> news:u1Ge$1fzHHA.5092@TK2MSFTNGP04.phx.gbl...
>>> This may be an FAQ but if it is then I have not been able
>>> to find an answer. The question is: Is it possible to create
>>> something similar to the InputBox function that hides the
>>> user's password as he enters it? If so, how?
>>>
>>
>


Ha®®y

HarryKrishna.nospam@online.ie

Re: Hiding a user password in VB Scripting by Pegasus

Pegasus
Fri Oct 19 15:01:23 PDT 2007

Here is the GUI solution:

http://www.microsoft.com/technet/scriptcenter/resources/qanda/feb05/hey0204.mspx


"papou" <cpapounospamthanx@laposte.netnospamthanks> wrote in message
news:eiF%23zRiEIHA.3636@TK2MSFTNGP03.phx.gbl...
> Hi
> This is interesting, could please give further detail?
>
> Cordially
> Pascal
> "S Moran" <s@moran.com> a écrit dans le message de news:
> Ol2KnNhzHHA.5992@TK2MSFTNGP02.phx.gbl...
>> if you use cscript there is a password object that masks input at the
>> commandline... no need for cheesy IE windows
>>
>>
>>
>>
>>
>> "Pegasus (MVP)" <I.can@fly.com> wrote in message
>> news:u1Ge$1fzHHA.5092@TK2MSFTNGP04.phx.gbl...
>>> This may be an FAQ but if it is then I have not been able
>>> to find an answer. The question is: Is it possible to create
>>> something similar to the InputBox function that hides the
>>> user's password as he enters it? If so, how?
>>>
>>
>
>



Re: Hiding a user password in VB Scripting by meridean

meridean
Tue Oct 23 02:43:40 PDT 2007

On Oct 19, 11:01 pm, "Pegasus \(MVP\)" <I....@fly.com> wrote:
> Here is the GUI solution:
>
> http://www.microsoft.com/technet/scriptcenter/resources/qanda/feb05/h...
>
> "papou" <cpapounospamth...@laposte.netnospamthanks> wrote in message
>
> news:eiF%23zRiEIHA.3636@TK2MSFTNGP03.phx.gbl...
>
>
>
> > Hi
> > This is interesting, could please give further detail?
>
> > Cordially
> > Pascal
> > "S Moran" <s...@moran.com> a =E9crit dans le message de news:
> > Ol2KnNhzHHA.5...@TK2MSFTNGP02.phx.gbl...
> >> if you use cscript there is a password object that masks input at the
> >> commandline... no need for cheesy IE windows
>
> >> "Pegasus (MVP)" <I....@fly.com> wrote in message
> >>news:u1Ge$1fzHHA.5092@TK2MSFTNGP04.phx.gbl...
> >>> This may be an FAQ but if it is then I have not been able
> >>> to find an answer. The question is: Is it possible to create
> >>> something similar to the InputBox function that hides the
> >>> user's password as he enters it? If so, how?- Hide quoted text -
>
> - Show quoted text -

I use HTA code to run my script and enter the password masked, I then
save it in a temp field and set the password variable from the temp
field. Here is the input code which goes within the body of the HTML
code. Then you can manipulate the sTempLNPwd field.

<P ALIGN =3D center><input type=3D"password" name=3D"PasswordArea"
size=3D"30"><P ALIGN =3D center>
<input id=3Drunbutton type=3D"button" value=3D" Submit "
name=3D"run_button" onClick=3D"Password">
<input type=3D"hidden" id=3D"sTempLNPwd" value=3D""></P>