Blocking User input until password is entered

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chezz
    New Member
    • Jun 2007
    • 13

    Blocking User input until password is entered

    Hey i know its possible to block the users input from the keyboard and mouse, and to unblock but i was wondering how to check for users input and to compare it against a password (validate it) while the user's input is blocked.

    Thx in advanced
  • pureenhanoi
    New Member
    • Mar 2007
    • 175

    #2
    Originally posted by chezz
    Hey i know its possible to block the users input from the keyboard and mouse, and to unblock but i was wondering how to check for users input and to compare it against a password (validate it) while the user's input is blocked.

    Thx in advanced
    pls explain more clearly

    Comment

    • chezz
      New Member
      • Jun 2007
      • 13

      #3
      Hey sorry if last post was unclear, the windows lock (windows key + L) i basically wanna replicate this. I know how to lock all input from Keyboard and mouse but what i don't know is how to say type a password and get the vb application to recognize this while everything is still locked.

      Comment

      • FPhoenix
        New Member
        • Jul 2007
        • 18

        #4


        that link should help you out. basically the form is going to need to work alot like a complicated message box with the modal option. modal forces the user to deal with the object before they can do anything else. now as far as the password section, add a text box so they can input information and then check it with whatever the password is suppose to be. therefore you just created a modal login screen

        Comment

        • chezz
          New Member
          • Jun 2007
          • 13

          #5
          I tried using the modal thing when displaying a form like this

          Code:
          dialog.show vbmodal, me
          but it doesn't force you to deal with this form before you can get rid of it.

          thx in advanced

          Comment

          Working...