Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/173056

From BetaArchive Wiki

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


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


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.


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.