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