|
-
Feb 16th, 2007, 02:19 PM
#9
Re: [RESOLVED] Hitting the "Esc" key to close program
Another "gotcha" with ascii codes is there are different codes for capital and small letters.
Example: A = Chr(65)
a = Chr(97)
vbKeyA doesn't care whether you chose a capital or a small, so when dealing with single letters (like making a hot key combination), I always use the KeyCode.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|