Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Visual C++
Programming Guide
General Concepts
Data Access
 Using the OLE/COM Object Viewer

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Visual C++ 
Using the OLE/COM Object Viewer 

By reading a control's type library, the OLE/COM Object Viewer lets you view a control's interfaces.

To use the OLE/COM Object Viewer

  1. Start the OLE/COM Object Viewer by either clicking OLE/COM Object Viewer on the Tools menu or by typing oleview at the command line.

  2. Display all registered Automation objects by opening the Automation Objects folder from the Object Classes, Grouped by Component Category.

  3. Scroll down and select one of the control. Several tabs appear in the right pane and the interfaces implemented by the control display on the Registry tab.

    • If you right-click a control in the left pane and select View Type Information, the ITypeInfo Viewer displays a reconstructed .idl or .odl file.

    • If you expand the control node in the left pane, you see a list of the interfaces in the object. If you click an interface, the registry entry for that interface is displayed in the right pane.

    • If you right-click an interface and click View, the OLE/COM Object Viewer displays a dialog box showing the GUID for the interface and an option to view type library information, if it is available. Selecting View Type Info displays a portion of a reconstructed .idl file specific to the interface in the ITypeInfo Viewer.

    • In the ITypeInfo Viewer, expanding the tree view and clicking an interface member displays the accessor method signatures in the right pane.

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker