frosty5656
asked on
? Detecting Keyboard Errors ?
i am useing VB.NET, and working within a windows form.
in my form i am useing SendKeys.SendWait(var)
sometimes the focus of my target application changes, and when i send the key stroke i get a keyboard error, ie. a "beep" sound from the system.
is there anyway to detect this error? this would be done so i can resend the key that resulted in an error.
thanks.
in my form i am useing SendKeys.SendWait(var)
sometimes the focus of my target application changes, and when i send the key stroke i get a keyboard error, ie. a "beep" sound from the system.
is there anyway to detect this error? this would be done so i can resend the key that resulted in an error.
thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This will pickup any key that you are using. If you have to press a special key this will pick it up.
There is no need to look just for errors.
There is no need to look just for errors.
ASKER
i don't understand how capturing what key is being pressed helps my problem? will this function return a value when a keyboard error occurs? sorry i'm fairly new to vb.net, could you explain your solution a bit more?
thanks.