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:
http://support.microsoft.com/contactus/?ws=supportNote In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
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