הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
The My.Computer.Keyboard object provides properties for accessing the current state of the keyboard, such as what keys are currently pressed, and provides a method to send keystrokes to the active window.
Tasks
This table lists tasks associated with the My.Computer.Keyboard object and points to topics demonstrating how to perform each task.
| To | See |
|---|---|
| Determine whether CAPS LOCK is on | CapsLock |
| Determine whether the SHIFT key is down | ShiftKeyDown |
| Determine whether the ALT key is down | AltKeyDown |
| Determine whether the CTRL key is down | CtrlKeyDown |
| Determine whether NUM LOCK is on | NumLock |
| Determine whether SCROLL LOCK is on | ScrollLock |
| Start an application and send it keystrokes | How to: Start an Application and Send it Keystrokes (Visual Basic) |
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.