The Premier Resource for Microsoft Collaboration Data Objects
This sample Microsoft Outlook 98/2000 form can be used to view the properties, including the permissions, of a particular public or private folder stored on a Microsoft Exchange Server. With the latest update it is now possible to display the forms and views information associated with a public folder:
This sample can be used only with Microsoft Outlook 98/2000 installed in 'Corporate or Workgroup Mode', using the MAPI provider to access Microsoft Exchange Server. Because of the fact that the 'Folder contact' property cannot be accessed with this sample it is always dimmed. Also the 'Folder visible' property is always set, because if the particular folder were not visible it could not accessed it with Microsoft Outlook and CDO.
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.
Make sure that Microsoft Outlook 98/2000 is installed in Corporate or Workgroup mode and running properly, because Outlook 98/2000 is required to use the 'NameSpace.PickFolder' method to display a folder selection box.
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:
|fldrpropv.zip (10 Kbyte) Outlook form||The Microsoft Outlook 98/2000 form, which can be used to view the properties of
a particular public or private folder hosted at a Microsoft Exchange Server.|
Click on the Outlook form template to start it and choose 'Enable Macros' if the macro warning dialog is displayed. To prevent the macro warning popup you can publish the form to the organization forms library on your Microsoft Exchange Server.
This form lets you select a particular folder and display the properties of that folder. You can also open the specific folder by clicking on an open button.