BUG: Selecting Item in DBCombo Locks Up Form (186681)



The information in this article applies to:

  • Microsoft Visual Basic Professional Edition for Windows 5.0
  • Microsoft Visual Basic Enterprise Edition for Windows 5.0
  • Microsoft Visual Studio 97

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.

Modification Type:MajorLast Reviewed:11/18/2003
Keywords:kbbug KB186681