Article ID: 827596 - Last Review: September 12, 2011 - Revision: 4.0

The Object Browser shows all methods and hidden properties in Office 2003 and in the 2007 Office suites

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
Expand all | Collapse all

SYMPTOMS

When working in Microsoft Visual Studio using the Microsoft Office Primary Interop Assemblies (PIA) for Office 2003 or Office 2007, hidden properties are visible in the Object Browser, even though the Show Hidden Members setting is not checked.

CAUSE

When the Office PIAs are created, the hidden attribute of object properties were not persisted correctly, allowing those properties to be displayed by default. Hidden methods will not be shown unless the Show Hidden Members setting is checked. The problem does not affect the functionality of the PIAs, only the display in the Visual Studio environment.

STATUS

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

MORE INFORMATION

As an example of the problem, if you add a reference to the Microsoft Outlook PIA in Visual Studio, you will see the following object properties in the Visual Studio Object Browser which you would not see in Visual Basic for Applications (VBA).
Collapse this tableExpand this table
AddressEntries.RawTable
AddressEntry.MAPIOBJECT
Application.FeatureInstall
Appointment.MAPIOBJECT
Attachment.MAPIOBJECT
ContactItem.MAPIOBJECT
DistList.CheckSum
DistList.MapiObject
DistList.OneOffMembers
DocumentItem.MAPIOBJECT
Explorer.Views
Folders.RawTable
ItemProperty.Formula
ItemProperty.ValidationFormula
ItemProperty.ValidationText
Items.RawTable
JornalItem.MAPIOBJECT
MailtItem.MAPIOBJECT
MAPIFolder.FullFolderPath
MAPIFolder.UserPermissions
MAPIFolder.WebViewAllowNavigation
MeetingItem.MAPIOBJECT
NameSpace.MAPIOBJECT
PostItem.MAPIOBJECT
RemoteItem.MAPIOBJECT
ReportItem.MAPIOBJECT
Results.RawTable
TaskItem.Contacts
TaskItem.MAPIOBJECT
TaskRequestAcceptItem.MAPIOBJECT
TaskRequestDeclineItem. MAPIOBJECT
TaskRequestItem. MAPIOBJECT
TaskRequestUpdateItem. MAPIOBJECT
UserProperty.IsUserProperty

APPLIES TO
  • Microsoft Office Basic 2007
  • Microsoft Office Enterprise 2007
  • Microsoft Office Home and Student 2007
  • Microsoft Office Professional 2007
  • Microsoft Office Professional Plus 2007
  • Microsoft Office Standard 2007
  • Microsoft Office Ultimate 2007
  • Microsoft Office Basic Edition 2003
  • Microsoft Office Professional Edition 2003
  • Microsoft Office Small Business Edition 2003
Keywords: 
kbvba kbexpertiseinter kbprogramming kbbug KB827596