|
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:
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.
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:
| Component | Description |
| arcsmple.zip (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. |