Microsoft KB Archive/89281

= VB for MS-DOS KeyUp, KeyDown Events Always Occur in Pairs =

PSS ID Number: 89281

Article Last Modified on 10/23/2003

-

The information in this article applies to:


 * Microsoft Visual Basic for MS-DOS 1.0

-



This article was previously published under Q89281



SYMPTOMS
Visual Basic for MS-DOS incorrectly generates a KeyUp for every KeyDown event. Visual Basic for Windows correctly generates a KeyUp event only when you physically release a key.



STATUS
Microsoft has confirmed this to be a bug in the Standard and Professional Editions of Microsoft Visual Basic for MS-DOS version 1.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



MORE INFORMATION
If you hold down a key, Visual Basic for MS-DOS generates a repeating series of alternating KeyDown and KeyUp events. However, if you perform the same behavior in Visual Basic for Windows, a sequence of KeyDown events are generated, followed by only one single KeyUp event.

Additional query words: VBmsdos buglist1.00 1.00

Keywords: KB89281

Technology: kbAudDeveloper kbVB100DOS kbVBSearch kbZNotKeyword3

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.