BUG: You receive a "System.Runtime.InteropServices.COMException" message when you bind an ImageList ActiveX control to a CoolBar ActiveX control (820627)
The information in this article applies to:
- Microsoft Visual Basic 2005
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual Basic .NET (2002)
- Microsoft Visual C# .NET (2003)
- Microsoft Visual C# .NET (2002)
SYMPTOMSIn Microsoft Visual Studio 2005 or in Microsoft Visual Studio .NET, when you set the ImageList property of the CoolBar ActiveX control to the ImageList ActiveX
control, and then you run the application, you receive the following
exception: An unhandled exception of type
'System.Runtime.InteropServices.COMException' occurred in axinterop.comctl3.dll
Additional information: Invalid property value. Note You cannot set the ImageList property of the CoolBar ActiveX control in the Properties
window. CAUSEMicrosoft Visual Basic 2005, Microsoft Visual Basic .NET, and Microsoft Visual C# .NET
interpret the ImageList property of the CoolBar ActiveX control as a read-only property.
Therefore, Visual Basic 2005, Visual Basic .NET, and Visual C# .NET throw an exception when you set
the ImageList property of the CoolBar ActiveX control to the ImageList ActiveX
control.STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.REFERENCESFor more information about the CoolBar ActiveX control, visit the
following Microsoft Developer Network (MSDN) Web site:
Modification Type: | Minor | Last Reviewed: | 10/3/2006 |
---|
Keywords: | kbvs2005swept kbvs2005applies kbvs2002sp1sweep kbinterop kberrmsg kbComCtrls kbProperties kbImgList kbCtrl kbControl kbbug KB820627 kbAudDeveloper |
---|
|