• You have to trap those keys. Every key on the keyboard has a scan code, and some keys like Shift, Ctrl, Alt, and others generate two codes. It's been a LONG time since I wrote a program to read a keystroke and tell what the scan code is. Anyway, I seem to recall the keys like Ctrl, Alt, F-keys and so forth generate a 0 first, then a second code, whereas the regular keys don't. You need to write a program to specifically trap those 3 keys once you have their codes. I don't program in VB so I don't have any code for you, but that's how those things are done. Just key trapping.

Copyright 2020, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy