DOCUMENT:Q186681 02-JUN-1998 [vbwin] TITLE :BUG: Selecting Item in DBCombo Locks Up Form PRODUCT :Microsoft Visual Basic for Windows PROD/VER:WINDOWS:5.0,97,97sp1,97sp2,97sp3 OPER/SYS:WINDOWS KEYWORDS: ====================================================================== --------------------------------------------------------------------- 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 ====================================================================== Version : WINDOWS:5.0,97,97sp1,97sp2,97sp3 Platform : WINDOWS Issue type : kbbug ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1998.