Skip to content

WIN32OLE

Creates an object for controlling OLE. Methods that the OLE object exposes through IDispatch can be called directly.

Members

Constructors

Methods


WIN32OLE

Constructor

Arguments

Arguments Default Description
name  

Description

Constructor


invoke

Method

Arguments

Arguments Default Description
name   Method name.
...   Arguments to pass.

Description

Invokes a method


set

Method

Arguments

Arguments Default Description
name   Property name.
value  

Description

Sets a property


get

Method

Arguments

Arguments Default Description
name   Property name.

Return value

The property value.

Description

Gets a property


getConstant

Method

Arguments

Arguments Default Description
obj this Stores the constants as properties of the given object.
If omitted, they are stored in this object.

Description

Gets constants


addEvent

Method

Arguments

Arguments Default Description
eventName   Event interface name (e.g. "DWebBrowser2Events2").
receiver   Object that receives the events.
The method whose name matches the event name is called.
If there is no such method, nothing happens.

Description

Registers an event receiver object