BUG: Selecting Item in DBCombo Locks Up Form
Article ID: 186681
Article Last Modified on 11/18/2003
APPLIES TO
- Microsoft Visual Basic 5.0 Professional Edition
- Microsoft Visual Basic 5.0 Enterprise Edition
- Microsoft Visual Studio 97 Service Pack 3
This article was previously published under Q186681
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: kbbug KB186681