BUG: SendKeys "{INS}" Causes Error "Invalid Procedure Call"
Article ID: 189742
Article Last Modified on 5/13/2003
APPLIES TO
- Microsoft Visual Basic 5.0 Learning Edition
- Microsoft Visual Basic 6.0 Learning Edition
- Microsoft Visual Basic 5.0 Professional Edition
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 5.0 Enterprise Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
This article was previously published under Q189742
SYMPTOMS
When using {INS} in a SendKeys statement, the following error occurs:
Invalid procedure call or argument.
CAUSE
Documentation states that both {INS} and {INSERT} are valid for the
SendKeys function. Only the {INSERT} is valid.
RESOLUTION
Use only the {INSERT} code to represent the Insert key stroke.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article. We are researching this
bug and will post new information here in the Microsoft Knowledge
Base as it becomes available.
Additional query words: kbdss kbDSupport kbVBp kbCrtl kbVBp500bug kbVBp kbVBp600bug
Keywords: kbbug kbpending KB189742