BUG: General Protection Fault May Occur When the ComboBox Control Is Set on a Band of CoolBar (269618)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 6.0, when used with:
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows 2000
- the operating system: Microsoft Windows XP
- Microsoft Visual Basic Enterprise Edition for Windows 6.0, when used with:
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows 2000
- the operating system: Microsoft Windows XP
This article was previously published under Q269618 SYMPTOMS
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.
CAUSE
This behavior occurs because the controls set on the band of CoolBar are not cleared at the correct time.
RESOLUTION
To work around the problem, add the following line of code to the Form_QueryUnload event handler:
CoolBarName.Bands.Clear
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCESFor additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
189632 BUG: Error in CoolBar Event Can Cause Hanging or Exception
189914 BUG: Wrapped CoolBar Control May GPF Client EXE Program
257630 FIX: Exception Error Closing an Application Containing a CoolBar Control
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kbbug kbfix kbVS600sp5fix KB269618 |
---|
|