When you create a WSC component, however, you must register it before you can use it in an ASP page. To do so, open Windows Explorer and right-click on the WSC file you just created. Select Register from the shortcut menu.
To create an object variable based on the new script object, use code similar to
Set objXMLCreate = Server.CreateObject("MyScriptObj.WSC")
At this point, you're free to access any of the object's methods and properties.
Source: Mike D. Jones
Viewed 13572 times