Using CDO for Outlook 2003 Development

Collaboration Data Objects (CDO) is another method you can use to access Outlook and Exchange data. The CDO object model can help you manipulate Messaging Application Programming Interface (MAPI) folders and items through Visual Basic, VBA, or VBScript. CDO can access certain objects that aren't available in the Outlook object model, such as displaying the Address Book dialog box to the user or accessing the Global Address List or other server-based objects. CDO used to be installed by default in Outlook, but now you must perform a custom installation and explicitly choose to install CDO, as shown in Figure 34.5.

Figure 34.5. You must choose to install CDO when you install Outlook.

After you install CDO, ...

Get Special Edition Using® Microsoft® Office Outlook® 2003 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.