Article ID: 269618 - View products that this article applies to.
This article was previously published under Q269618
If you have a Visual Basic application with a ComboBox control set on a band of the CoolBar control, it works as expected in versions of Visual Basic earlier than Microsoft Visual Studio 6.0 Service Pack 4 (SP4). However, if you are using SP4, the application may stop responding (crash) when the form that hosts the CoolBar control closes. The crash only occurs on systems that are running on Windows 98 or Windows 95.
This behavior occurs because the controls set on the band of CoolBar are not cleared at the correct time.
To work around the problem, add the following line of code to the Form_QueryUnload event handler:
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Steps to Reproduce Behavior
For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/189632/EN-US/ )BUG: Error in CoolBar Event Can Cause Hanging or Exception
(http://support.microsoft.com/kb/189914/EN-US/ )BUG: Wrapped CoolBar Control May GPF Client EXE Program
(http://support.microsoft.com/kb/257630/EN-US/ )FIX: Exception Error Closing an Application Containing a CoolBar Control
Article ID: 269618 - Last Review: May 12, 2003 - Revision: 2.0