Article ID: 325663 - View products that this article applies to.
This article was previously published under Q325663
This article has been archived. It is offered "as is" and will no longer be updated.
A Microsoft ActiveX control may provide display strings for a property through the IPerPropertyBrowsing interface. The Properties window caches these values. However, these values are not updated in the cache when display strings dynamically change. The set of display strings that is provided may depend on other properties of the ActiveX control.
Also, when you change the DISPID of the property (or when DISPID is set to DISPID_UNKNOWN), and the ActiveX control calls IPropertyNotifySink::OnChanged, the value of a property in the Properties window may not be updated.
In the Properties window, when you change the Name property for an ActiveX control in the Windows Forms Designer, the ActiveX control does not call the control IOleControl::OnAmbientPropertyChange(DISPID_AMBIENT_DISPLAYNAME).
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Visual Studio .NET service pack that contains this hotfix.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
Note This fix requires .NET Framework Service Pack 1 (SP1). If you must have this fix for .NET Framework SP2, click the article number below to view the article in the Microsoft Knowledge Base:
Date Time Version Size File name --------------------------------------------------------------------- 17-Aug-2002 07:40 1.0.3705.308 1,175,552 System.data.dll 17-Aug-2002 07:38 1.0.3705.308 1,986,560 System.windows.forms.dll 16-Aug-2002 04:05 16,616 System.windows.forms.ldo 16-Aug-2002 04:01 1.0.3705.308 57,344 System.windows.forms.tlb
328535If you experience this problem with the Visual C++ .NET designer, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/328535/ )INFO: Post-Service Pack 2 .NET Framework System.Data and WinForms hotfix package
(http://support.microsoft.com/kb/322194/ )FIX: Visual C++ Designer does not call IPerpropertyBrowsing::GetPredefinedStrings to update properties window
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Article ID: 325663 - Last Review: October 26, 2013 - Revision: 2.3
Contact us for more help
Connect with Answer Desk for expert help.