Results 1 to 6 of 6

Thread: Password InputBox

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 1999
    Location
    Itabirito,Minas Gerais, Brazil
    Posts
    79

    Post

    Hi, everybody!

    Is there anyway to receive data using a input box, displaying each letter like a "*"?
    I'd like to allow the user to enter something like a password in order to be able to proceed some actions...

    Thanks in advance!
    Roselene

  2. #2
    Hyperactive Member Gimpster's Avatar
    Join Date
    Oct 1999
    Location
    Redmond, WA 98052
    Posts
    331

    Post

    Yeah, just put * into the Password Char property.

    ------------------
    Ryan

  3. #3
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523

    Post

    I don't think it is possible with InputBox. The best thing to do is to create your own form, which looks like the InputBox and in textboxe's PasswordChar ... read previous post.
    HTH

    ------------------
    Visual Basic Programmer
    ------------------
    PolComSoft
    You will hear a lot about it.


  4. #4
    New Member
    Join Date
    Feb 2000
    Posts
    1

    Post

    Could you send me some code on how to create your own form which resembles an input box but that has the ability to use the passwordchar property. It would be appreciated.
    Originally posted by QWERTY:
    I don't think it is possible with InputBox. The best thing to do is to create your own form, which looks like the InputBox and in textboxe's PasswordChar ... read previous post.
    HTH

  5. #5
    Member
    Join Date
    Feb 2000
    Posts
    43

    Post

    ummm you draw the form and drop a textbox control on it, and two command buttons (OK and Cancel)

    if you don't know how to make a form... you should learn that before using VB

    then you put the appropriate code in each command button to pass on the contents of the textbox to wherever it is needed in your program...

    ------------------
    Rapmaster

  6. #6
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Post

    I've sent you a form that you can use for an InputBox.

    ------------------
    Marty
    What did the fish say when it hit the concrete wall?
    > > > > > "Dam!"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width