Server.CreateObject method

Creates an instance of a COM server component.

Usage

Set obj= Server.CreateObject(progid)

Details

This method creates and returns a COM object specified by progid.

Important

Using Server.CreateObject rather than a language construct (like CreateObject(progid) in VBScript, new ActiveXObject(progid) in JScript, or $Win32::OLE->new(progid)in PerlScript) allows IIS to manage the object, by handling concurrency, termanation, etc.