Platform SDK: Exchange Server

About the AEditor Sample Files

The AEditor sample contains the following files:

AEditor Files

File Description
Aeditor.cls a Visual Basic class module that contains properties for the sample.
Agenteditor.bas a Visual Basic module that contains the public routines for the sample.
Agentmap.cls a Visual Basic Class that contains routines for Logging on, creating and modifying agents and maps.
Cdohdlr.bas a Visual Basic module that contains CDO and Agentmap class constants for the sample.
Main.bas a Visual Basic module that contains the entry point and termination routine for the sample.
Map.bas a Visual Basic module that contains routines to handle importing and exporting maps.
NewAgentType.frm A form for selecting a new agent type (either ScriptHandler or Microsoft Routing).
AgentPicker.frm A form for displaying the agents in a folder and allow action selection (New, Edit, Delete).
Folders.frm A form which has a Tree Control for selecting the folder (either private or public).
Status.frm A simple form which is displayed while the logon is being performed.
AeditUI.frm The main interface which the user sees when they run the program. It contains the menus, toolbar and Tab Control for editing properties, maps and scripts. (A given form may have a binary FRX file associated with the form which shouldn't be removed).
*.bmp A number of Bitmap image (BMP) files.
RES, VBP, and VBW Miscellaneous project () files. The resource holds the default script for the ScriptHandler and Microsoft Routing classes.

You can easily add the functionality of the AEditor sample to your application by incorporating the Agentmap.cls and Cdohdlr.bas files into your project.

AEditor Subroutines and Functions

The sample files contain the following routines.

AgentMap Class

The AgentMap.cls class file can be divided into three sections: CDO, Map, and Events.

To create an application that manipulates agents or maps, you need only copy the class file and the CDOHDLR.BAS file (with its CDO and Agentmap class constants) into your project.