While trying to use the Keyasciis, I had a problem of interference with the Vbhelp function. Every time I typed a keyascii, it gives me an error and opens automatically Vbhelp. What can I do to stop this from happening?
Printable View
While trying to use the Keyasciis, I had a problem of interference with the Vbhelp function. Every time I typed a keyascii, it gives me an error and opens automatically Vbhelp. What can I do to stop this from happening?
what do you mean use the keyasciis? Do you mean ALT-#### keyboard combos? please clarify.
No, each time I type keyascii in my code, I get an error and vbhelp comes up.
Please provide an example.
Do you mean using the ascii constants? vbKeyA, vbKeyB, etc...?
VB Code:
Key_press(keyascii as...) if keyascii = 112 then 'when I put a breakpoint, it brings vbhelp up HERE. image1.top = 123 end sub
You have no end if for one thing...
VB Code:
Private Sub Command1_KeyPress(KeyAscii As Integer) If KeyAscii = 112 Then 'when I put a breakpoint, it brings vbhelp up HERE. Command1.Top = 123 End If End Sub