BUG: Selecting Item in DBCombo Locks Up Form

ID: Q186681


The information in this article applies to:
  • Microsoft Visual Basic Professional and Enterprise Editions for Windows, version 5.0
  • Microsoft Visual Studio versions 97, 97sp1, 97sp2, 97sp3


SYMPTOMS

When selecting an item in the drop-down box of a DBCombo control with a mouse click, the form no longer responds to the mouse.


CAUSE

This is a bug in the Visual Basic 5.0 version of DBLIST32.OCX. The problem only occurs if DoEvents is used within the DBCombo Click event or a procedure called by the Click event.


RESOLUTION

Do one of the following:

  • Remove the DoEvents statement from the Click event.


  • -or-

  • Revert to the Visual Basic 4.0 version of DBLIST32.OCX.


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.


MORE INFORMATION

The Visual Basic 4.0 version of the DBCombo control does not have this problem. It is possible that the installation of the Visual Basic 5.0 version of DBLIST32.OCX could cause an application built with Visual Basic 4.0 to display this problem.

Additional query words: kbDSupport kbdss kbVBp400 kbVBp500 kbCtrl kbVBp500bug kbVS97sp1bug kbVS97sp2bug kbVS97sp3bug

Keywords : kbGrpVB
Version : WINDOWS:5.0,97,97sp1,97sp2,97sp3
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: January 5, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.