If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > disable mouse and keyboard

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-21-04, 05:41
leenz leenz is offline
Registered User
 
Join Date: Jul 2004
Posts: 2
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
Reply With Quote
  #2 (permalink)  
Old 07-21-04, 09:13
SCIROCCO SCIROCCO is offline
Registered User
 
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!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On