CDOLive LLC The Premier Resource for Microsoft Collaboration Data Objects             

Outlook AutoArchive Settings Viewer

This sample is a simple Microsoft Visual Basic application that displays the Outlook AutoArchive settings of a particular mailbox folder using CDO 1.2x. Those settings are neither in the Outlook Object model nor in CDO 1.x exposed directly:


Known Issues

This sample can be used only with Microsoft Outlook installed in 'Corporate or Workgroup Mode', using the MAPI provider to access Microsoft Exchange Server.


Microsoft Exchange Server 5.x in US English version must be installed. Also make sure that Microsoft Outlook is installed in Corporate or Workgroup mode and running properly.

After installing the Outlook security update this sample will stop working properly because of changes made by Microsoft. For more info on the Outlook security update please check Outlook e-mail Security Update

Note that the Office/Outlook 2000 setup does not install CDO 1.21 by default. You need to run the Office/Outlook 2000 setup and add CDO 1.21 as custom option.

Checked Build

If you would like to use this sample with another language version of Microsoft Exchange Server or Microsoft Outlook, it is possible that the sample will not work without modifications. Please consult the source code for more information. This sample is built and checked for a proper function using the following environment:

  • Microsoft Windows NT Server 4.0, with Service Pack 5/6a, US English - international
  • Microsoft Exchange Server 5.5, with Service Pack 3, US English - international
  • Microsoft Outlook 2000, US English - international
Installation and Configuration
Component Description (10 Kbyte) Visual Basic Project To use the sample, unzip it into a separate folder. Make sure that the CDO 1.21 component is registered on your machine and open the project file. If you not have Outlook 2000 installed it is possible that you will get an error that CDO.DLL cannot be found. If so, open the references and select the proper CDO 1.21 library reference.

Load the application into the Microsoft Visual Basic IDE and click "Run", "Start" to run the application and select the MAPI profile that should be used. A folder browser dialog is displayed and you can select a folder of your mailbox. Then click on the AutoArchive button to display the AutoArchive settings.