I cannot find documentation for some KeyCodes I used in an application I wrote 2-3 years ago. There might be other useful data in such documentation.
In a KeyDown Event Subroutine, my code has the following If Statement.The above does just what I want, but I no longer remember how I decided to use KeyCodes 187 & 189.VB Code:
If KeyCode = vbKeyAdd Or KeyCode = 187 Then ‘Code for Plus-Key ElseIf KeyCode = vbKeySubtract Or KeyCode = 189 Then ‘Code for Minus-Key Else End If
187 seems to relate to the Keyboard key with + = on it.
189 seems to relate to the Key with _ - on it.
My Visual Basic 6.0 Language Reference Manual shows codes 187 189 to be >> 1/2
The code works if the above keys are used with or without a shift key.
Where is there documentation about things like the above?
