FIX: Designer does not call IPerPropertyBrowsing::GetPredefinedStrings to update the Properties window

Article translations Article translations
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.
Expand all | Collapse all

SYMPTOMS

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).

RESOLUTION

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=support
Note 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.
   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
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:
328535 INFO: Post-Service Pack 2 .NET Framework System.Data and WinForms hotfix package
If you experience this problem with the Visual C++ .NET designer, click the article number below to view the article in the Microsoft Knowledge Base:
322194 FIX: Visual C++ Designer does not call IPerpropertyBrowsing::GetPredefinedStrings to update properties window

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Properties

Article ID: 325663 - Last Review: October 26, 2013 - Revision: 2.3
APPLIES TO
  • Microsoft Visual Studio .NET 2002 Professional Edition
  • Microsoft Visual Studio .NET 2002 Enterprise Architect
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
Keywords: 
kbnosurvey kbarchive kbbug kbfix kbqfe kbvs2002sp1sweep kbhotfixserver KB325663

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com