(Contents)(Previous)(Next)

Overview

This chapter describes the OfficeTalk application programming interface (API). The OfficeTalk API has an OLE Automation interface which means that it is straight forward to manipulate OfficeTalk data from within OLE automation controllers, such as Visual Basic, VBScript, JavaScript, WordBasic and Visual C++. It is intended that Visual Basic is the ideal platform from which to program add-ons and extensions for OfficeTalk. For this reason, all the examples in this reference manual are Visual Basic examples.

The OfficeTalk API gives you access to much of the data contained within OfficeTalk. Provided you have sufficient access, you may use the API to read, write, edit and delete certain OfficeTalk data. Access to OfficeTalk data is achieved through a single object called the Session object.

The OfficeTalk API is structured as follows:

In order to use the OfficeTalk API you must first create a Session object.

Set session = CreateObject("OfficeTalk.Session")

To gain access to the data held in OfficeTalk, you must then log on as a specific user. To do this you call a function called Logon through the Session object:

Set user = session.Logon("myLoginName", "myPassword")


Next