CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: How to control

  1. #1
    Guest

    How to control

    How to activate and deactivate the keyboard? is to block the signal come keyboard to CPU, so that the user cannot enter any value to the computer.

    Thanks

    pls mail to [email protected]


  2. #2
    Join Date
    Dec 1999
    Location
    Baltiore, MD, USA
    Posts
    8

    Re: How to control

    Take a look at Dan Appleman's API books and his website. Trough the API calls you can disable and enable keyboard programaticaly.


  3. #3
    Join Date
    Dec 1999
    Location
    Tel Aviv, Israel, Earth, Solar System
    Posts
    50

    Re: How to control

    I'm not sure it's the best way to handle your problem, but you could try setting your Form's KeyPreview to True abd then do nothing. My guess is that program will not pass any data to the chosen control. You might use the Form_Keypress event to give user some message. I don't have VB IDE right where I am, so . . . just try it.


    Jean Spector
    Tech Support Team Leader, CET
    [email protected]
    (in VB from 11/1999)

  4. #4
    Guest

    Re: How to control

    Thanks you for the information )))

    Johnny


  5. #5
    Guest

    Re: How to control

    Thanks for your information ))

    Johnny


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

Featured