Perhaps the same problem ?

  • Thread starter Thread starter Michel Landrain
  • Start date Start date
M

Michel Landrain

Hello

I'm a new user of CDO with VC++, and my first question is :

How to create a new folder ?

Here is a piece of code where a session is open and a pointer (mFolders) on
Inbox folder.
At this state, I'd like to create a new folder.
How can I do it ?

I try to use the add method of folders, but it is not available

mFolders->Folders.add ("My Folder"); (Add method not available).

How to do it ?


Someone can help me ?
Thank's in advance

Michel.
 
I haven't seen you code of course, but shouldn't it be

NewFolder = mFolders->add ("My Folder");

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top