You receive a "System.MissingMemberException" error message while you use an ActiveX Imagelist control (820625)
The information in this article applies to:
- Microsoft Visual Basic .NET (2002)
SYMPTOMSYou may have a Microsoft Windows Form with an ImageList property of an ActiveX control (such as TreeView, ImageCombo,
Toolbar, or ListView) set to the ImageList ActiveX control. When you retrieve
values or modify values, such as adding images or deleting images, of the
ActiveX control Imagelist property, you may receive the following error
message: An unhandled exception of type
'System.MissingMemberException' occurred in
microsoft.visualbasic.dll Additional information: Public member 'Property'
on type 'ExtenderProxy' not found. CAUSE Visual Basic 6.0 ActiveX Controls support the IExtender
interface that permits you to add additional properties to the default
interface of the controls. When you use these ActiveX Controls in Visual Basic
.NET, the AxHost class supports the IExtender interface. Therefore, AxHost adds some properties to these ActiveX Controls. However, AxHost does not add the remaining properties to the default interface of
the ActiveX Controls. This problem occurs because of a broken IReflect
implementation on the ExtenderProxy. Therefore, the properties of the ImageList control are not added to the ActiveX controls (such as Toolbar
and TreeView), and you may see the error message at run time.STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
This problem was corrected in Visual Basic .NET (2003).
Modification Type: | Major | Last Reviewed: | 1/26/2006 |
---|
Keywords: | kbvs2005swept kbvs2005doesnotapply kbvs2002sp1sweep kbBug kbfix kbComCtrls kbToolbar kbTreeView kbListView kbProperties kbImgList kbWindowsForms kbCtrl kbControl KB820625 kbAudDeveloper |
---|
|