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

ID: Q89281


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for MS-DOS, version 1.0
  • Microsoft Visual Basic, version 1.0


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 :
Version : MS-DOS:1.0; :1.0
Platform : MS-DOS
Issue type :


Last Reviewed: December 4, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.