COMObject.Default

Syntax:

New COMObject(<Name>, <ServerName>)

Parameters:

<Name> (required)

Type: String.
The Class COM ProgID, by which it is registered in the system. For example, "Excel.Application".

<ServerName> (optional)

Type: String.
Name of the computer, where you need to create a given object. If the parameter is omitted, it will be created on the given computer.

Description:

Creates external application COM-object.

Example:

Word = New COMObject("Word.Application");

V8 = New COMObject("V8.Application");


    

1C:Enterprise Developer's Community