Platform SDK: Web Telephony Engine

Creating the Root Web Telephony Object

The WTE objects are made available through a single root object. You must first create this root object, then use its properties to access subordinate objects in the object model.

To create this root object in VBScript, use the CreateObject function. To create this root object in JScript, use the ActiveXObject function. Use the class name "WTE.Root" as in these examples:

When creating the root object in Visual Basic, use the programmatic identifier "WTE," as in this example:

Dim Root As WTE 
Set Root = New WTE