Click to See Complete Forum and Search --> : How to control


December 30th, 1999, 07:48 AM
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 w388@hotmail.com

Leonid Shraybman
December 30th, 1999, 08:07 AM
Take a look at Dan Appleman's API books and his website. Trough the API calls you can disable and enable keyboard programaticaly.

Jean Spector
December 30th, 1999, 08:23 AM
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
mage@lycosmail.com
(in VB from 11/1999)

January 10th, 2000, 09:35 AM
Thanks you for the information :))))

Johnny

January 10th, 2000, 09:37 AM
Thanks for your information :)))

Johnny