The right pane will displays extensive information. Most important when
exploring a new object is the VersionIndependentProgID. This is the name you
will be using in either CreateObject() or new ActiveXObject().
In order to really do anything with the object, you have to set properties
and call the methods of the object. Of course it would be nice to know what
they are and the OLEViewer helps us out.
Right click on the an object in the left pane. Select View Type Information.
The right pane displays the return type and parameter list of the method
selected in the left pane. You can find the properties located under the
properties folder right about the methods folder and constants right above
properties.
You can use the OLEViewer to copy the ClassID of on an object to the
clipboard and even in HTML format to allow you to add these objects to your
web pages (IE Only).
If you instantiate on object using OLEViewer chances are you will not be able
to create the same object using WSH, or any other development tool for that
matter, until you release it. Familiar errors like "Unable to Create Object."
Even having the object selected is enough to prevent the proper creation of
an object. When trying to debug your code, ensure that you do not have the
OLEViewer on the object your are trying to instantiate. Also, if you see the
object name in bold, OLEViewer.
Scripting.FileSystemObject scrrun.dll
Scripting.Dictionary scrrun.dll
WScript.Network wshom.ocx
WScript.Shell wshom.ocx
Links