From: Tom Lavedas on
On Feb 17, 4:00 pm, "Robert S" <robert.spam.me.sensel...(a)gmail.com>
wrote:
> >> I am trying to write a script that gets a password from the user then
> >> logs into a remote computer.  The InputBox function doesn't seem to have
> >> an option that masks the user input with other characters (eg. "*").
> >> How can I do this?
> > This is not possible without a third party control.  One approach
> > often used, however, is to use the ubiquitous presence of IE as the
> > third party control to implement a password box, something like this
> > often posted old sample of mine ...
>
> Hi.
>
> This seems to do the trick.  Now I need to get rid of the "User" prompt
> because its not needed.  Hopefully won't be too difficult

Not too tricky. Remove these three lines from the display page
setup ...

& " <b>User:</b></td><td>" _
& "<input type=text size=10 id=user value='" _
& sDefault & "'>" _

And remove the User return value from the return array. Maybe by
changing these two lines ...

PasswordBox = Array("CANCELLED")
....
PasswordBox = Array(.all.user.value, .all.pass.value)

To this ,,,

PasswordBox = "CANCELLED"
....
PasswordBox = .all.pass.value
_____________________
Tom Lavedas
From: mr_unreliable on
Tom Lavedas wrote:
> I don't see the advantage over using
> the HTML password input control.
>

You may say that your "steak" is superior to my "hamburger".

That doesn't mean that "hamburger" should never be
mentioned in polite society.

cheers, jw