YP

Can we disable the key on the key board like what the cyber cafe in my country which use to block the whole screen



Re: Visual Basic Express Edition Disable the keyboatd

Martin Xie - MSFT

Hi YP,

"like what the cyber cafe in my country which use to block the whole screen"

Which key

Could you please clarify the specific key you want to disable You can show the relevant introduce or illustration.

This thread is about disabling a key too.

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=2017355&SiteID=1

Best regards,

Martin Xie






Re: Visual Basic Express Edition Disable the keyboatd

Omar Abid

if the screen (the computer) is locked how you'll run your program






Re: Visual Basic Express Edition Disable the keyboatd

Martin Xie - MSFT

Did you mean the "Win + L" key combination which is used to lock the whole screen

Disabling the key on the keyboard for the ¡°whole screen¡± may need to involve global hook, which cannot be achievable via .Net languages, or low level hook, which is very expensive for performance.

Maybe removing the key from the keyboard is a simpler solution.

This solution can disable and restore the Windows key by means of modifying Registry.

Thanks,

Martin