ActiveXObject() (Constructor)

Used for manufacturing new ActiveX objects.

Availability:

JScript - 3.0
Internet Explorer - 4.0
JavaScript syntax:IEnew ActiveXObject(anObjectType)
IEnew ActiveXObject(anObjectType, aLocation)
Argument list:anObjectTypeWhat sort of application and object class type to be created
aLocationA server name where the source object is located

You can use this constructor for creating new objects. You need to specify the kind of object to be created in the string argument value. For example, to create a Microsoft Word document, pass the string "Word.Document" to the constructor.

You can also specify a second optional argument to locate the application on a remote server.

Here are some example applications you can invoke:

Other alternatives depend on the applications you have installed on your client system.

See also:GetObject()