COMObject.Default
Based on application name
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.
When called in a browser other than Internet Explorer, an exception is thrown.
Example
Word = New COMObject("Word.Application");
V8 = New COMObject("V8.Application");
No comments to display
No comments to display