VB SendKeys Causes Erratic Mouse Behavior on IBM PS/2

ID Number: Q79603

1.00

WINDOWS

buglist3.00

Summary:

When a Visual Basic program executes the SendKeys statement on an IBM

PS/2 computer when you move the mouse, Windows behaves erratically

until it is shut down. The erratic behavior is caused by continuous

phantom mouse clicks and mouse movement.

This information applies to Microsoft Visual Basic programming system

version 1.0 for Windows. This is a problem with Microsoft Windows

version 3.0, not Microsoft Visual Basic.

More Information:

If you are running Microsoft Windows 3.0 on a PS/2 computer and you

press the NUM LOCK key while moving the mouse, the mouse becomes

erratic. The Visual Basic SendKeys statement affects the NUM LOCK key,

thus causing this problem just as if NUM LOCK were pressed.

When you move the mouse, phantom Click events result in symptoms such

as applications unexpectedly launching, or the mouse pointer jumping

around the screen.

This problem has been reported to happen on the IBM PS/2 Model

50, Model 50z, Model 60, and Model 80.

Additional reference words: 1.00 3.00 NUMLOCK