Link to home
Start Free TrialLog in
Avatar of onemorecoke
onemorecoke

asked on

Does anyone know if you can detect the shift or control keys down when you start a VB app?

I am looking for a way in the first lines of code in a vb app to detect if the shift or control key is pressed.  Does anyone know how to do this if a form is not present yet?

ASKER CERTIFIED SOLUTION
Avatar of nffvrxqgrcfqvvc
nffvrxqgrcfqvvc

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nffvrxqgrcfqvvc
nffvrxqgrcfqvvc

Forgot to mention to add the procedure {IsShiftOrControl} to a timer control with say 200-500 milliseconds
Avatar of onemorecoke

ASKER

Works perfect.  Thank you!