Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004
    Posts
    2

    Unanswered: disable mouse and keyboard

    hie... just wanna to ask..do anyone know how to disable the mouse and also the keyboard of user?actually rite now i'm working on my project... that will implement the restriction on user's mouse and keyboard input.... i'm wondering which language (c++ or vb ) to be use.... hope someone out there can give some opinion or advice to me.... thankz

  2. #2
    Join Date
    Mar 2004
    Location
    www.scirocco.ca
    Posts
    346
    Warning: After running this code, the mouse will be functional again only after you reboot your computer.

    Code:
    Shell "rundll32 mouse,disable"
    Warning: After running this code, the keyboard will be functional again only after you'll reboot your computer.

    Code:
    Shell "rundll32 keyboard,disable"
    http://www.scirocco.ca/images/banner...occobanner.gif

    Download for FREE the ADO/DAO Data Controls that makes life EASIER developing database applications in: VB, FoxPro, Access, VC++, .NET etc... Navigate, Add New, Delete, Update, Search, Undo and Save your changes. Supports Disconnected Recordsets and Transactions!

    Or try our Ask An Expert service to answer any of your questions!

Posting Permissions

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