password on inputbox?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jaz215
    New Member
    • Nov 2007
    • 55

    password on inputbox?

    Hi.

    I want the user to input a password on an inputbox. How do I make this without showing the actual password? In textboxes you can set the view to all ********. How do I do this in inputboxes?
    Last edited by Killer42; Nov 23 '07, 02:28 AM.
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    Originally posted by jaz215
    ... In textboxes you can set the view to all ********. How do I do this in inputboxes?
    You can't. The Inputbox() function shouldn't even be used in a real application. It's just a "quick and dirty" way to grab something from the user, really only appropriate for use during development or in things like a utility you will just use yourself.

    Comment

    • chandru8
      New Member
      • Sep 2007
      • 145

      #3
      hi
      By adding Pcomm autsystem reference , you ill get an input box while typing the charactes will display as ************

      thanks

      Comment

      • debasisdas
        Recognized Expert Expert
        • Dec 2006
        • 8119

        #4
        You can design a small form of the size of inputbox for the same functionality there you can use textbox with password character.

        Comment

        • lotus18
          Contributor
          • Nov 2007
          • 865

          #5
          Originally posted by debasisdas
          You can design a small form of the size of inputbox for the same functionality there you can use textbox with password character.
          Hi jaz215

          I agree with debasisdas. You can design any thing you want with your form better than using an inputbox.

          I think a lot of people will not agree with me, I think inputbox is obsolete : )

          Comment

          • AHMEDYO
            New Member
            • Nov 2007
            • 112

            #6
            Originally posted by lotus18
            Hi jaz215

            I agree with debasisdas. You can design any thing you want with your form better than using an inputbox.

            I think a lot of people will not agree with me, I think inputbox is obsolete : )
            HI..

            you are right, but not just it obsolete, but with current situation, he need to print * instead of Original character, you can do that by using FindWindow and SendMessage With ES_PASSWORD Style but take in your mind that inputbox displayed as Model dialog and InputBox() function does not return until user press enter or cancel, this mean you need to create another thread before calling InputBox Function , and then use FindWindow and SendMessage Function, simply Design new form is the Best one

            Kind Regards

            Comment

            • Mohan Krishna
              New Member
              • Oct 2007
              • 115

              #7
              Originally posted by chandru8
              hi
              By adding Pcomm autsystem reference , you ill get an input box while typing the charactes will display as ************

              thanks
              Hi Chandru!

              Please tell how to add that reference!

              ThanQ!

              Comment

              • Mohan Krishna
                New Member
                • Oct 2007
                • 115

                #8
                Hi everyone!

                I got a code for this which I want to share with you all...


                Hope you accept it! Thank you!
                Attached Files
                Last edited by Killer42; Nov 25 '07, 08:20 PM. Reason: Please don't use SMS rubbish like "u" instead of "you".

                Comment

                • jaz215
                  New Member
                  • Nov 2007
                  • 55

                  #9
                  got a lot of opinions from this post :P

                  thanks for the help!

                  Comment

                  • Killer42
                    Recognized Expert Expert
                    • Oct 2006
                    • 8429

                    #10
                    Originally posted by jaz215
                    got a lot of opinions from this post :P
                    Yes, we have a great supply of those. :)

                    Glad we could help.

                    Comment

                    • jrtox
                      New Member
                      • Sep 2007
                      • 89

                      #11
                      Thanks for this one...

                      Comment

                      • jrtox
                        New Member
                        • Sep 2007
                        • 89

                        #12
                        Thanks for this one

                        Phils. Ervin

                        Comment

                        Working...