HOWTO: Use VB with Active Messaging to Add a New Folder

ID: Q173056


The information in this article applies to:
  • Collaboration Data Objects (CDO), versions 1.1, 1.21


SUMMARY

This article describes how to use the Active Messaging library to add a new folder below an existing folder in a MessageStore.


MORE INFORMATION

This Visual Basic code sample assumes a reference to the Active Messaging Library version 1.1 (OLEMSG32.DLL). For additional information on where to obtain this library, please see the following article in the Microsoft Knowledge Base:

Q171440 INFO: Where to Acquire the Collaboration Data Objects Libraries

Sample Code

Paste the following code into a new Visual Basic Form:
 
Please note that if you are attempting to add a Folder to the Public Folders tree, you must have "Create Subfolder" rights on the Folder within which you are attempting create the new folder.


REFERENCES

For additional information about Collaboration Data Objects versus Active Messaging, please see the following article in the Microsoft Knowledge Base:

Q176916 INFO: Active Messaging and Collaboration Data Objects (CDO)

Additional query words:

Keywords : kbCDO110 kbCDO121 kbMsg kbVBp kbGrpMsg
Version : WINDOWS:1.1,1.21
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: November 8, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.