Perhaps the same problem ?

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.
 
D

Dmitry Streblechenko

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top