If you know the location of the user created folders you can navigate there
using any folder's Folders collection. For example a subfolder of Inbox
would be in oFolderInbox.Folders. To find all folders you need to do a
recursive search starting at NameSpace.Folders and work down from there,
examining each MAPIFolder.Folders that's present.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"Maddy" wrote in message
...
Hi ,
I want to get items from user created folders from outlook 2003.
How can I do this.In case of default folders we can do that by using
pFolder=pApp-GetNamespace(_bstr_t("MAPI"))-GetDefaultFolder(olFolderInbox);
Here for default folder olFolderInbox enumeration is there , what should
be
done in cae of user created folders.
Please do suggest on the same.
Thanks in advance.