Using the OLE/COM Object Viewer  
 
 

The OLE/COM Object Viewer is available for free from http://www.microsoft.com/oledev. The simple installation installs the executable by default as \mstools\bin\oleview.exe. You use the OLE viewer to retrieve a COM object's Program ID as well as its methods and properties.

Once you've installed the COM object, make sure you register it using the regsvr32.exe utility. Otherwise you won't find the object in the OLE viewer. The OLE viewer retrieves all COM objects and controls from the rEgistry, and presents the information in a simple format, sorted into groups for easy viewing.

By selecting the category and then component you want to use, you can see the Program ID of the COM object you want to use. The OLE viewer also gives you access to options for the operation of the object.

 
 
  To view an object's properties:  
 
  1. Open the OLE viewer and scroll to the object you want.

  2. Select and expand the object in the OLE viewer.

    By right clicking the object, an option appears for viewing it. If you view the TypeInfo, you'll see the object's methods and properties. Some objects will not have any access to the TypeInfo area. This is determined when an object is built and by the language used.



 
 
BackUp LevelNext
 
 

allaire     AllaireDoc@allaire.com
    Copyright © 1998, Allaire Corporation. All rights reserved.