![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
I am creating custom folders inside outlook using mAPIFolder .
I need to keep a collection of all folders inside a collection class. However I want to skip special folders like inbox, deleteditem folders etc inside my collection class since it doesn't support all events like user created folders like drag , drop, or delete or rename. I want to keep my collection class less loaded. At begining of outlook , i can traverse to all folders with a recursive function. here I want to check if this folder is "Special folder". How can I achieve it? |
#2
|
|||
|
|||
![]()
By special folders do you mean the default folders?
For most of them there are properties in the Inbox folder that provide the EntryID's of the default folders as PT_BINARY properties. For example: Calendar PR_IPM_APPOINTMENT_ENTRYID (0x36D00102) Tasks PR_IPM_TASK_ENTRYID (0x36D40102) etc. Some are found by checking for properties in the Store object: PR_IPM_OUTBOX_ENTRYID (0x35E20102) PR_IPM_SENTMAIL_ENTRYID (0x35E40102) PR_IPM_WASTEBASKET_ENTRYID (0x35E30102) You can see those properties with a MAPI viewer such as OutlookSpy. -- 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 "Neetu" wrote in message ... I am creating custom folders inside outlook using mAPIFolder . I need to keep a collection of all folders inside a collection class. However I want to skip special folders like inbox, deleteditem folders etc inside my collection class since it doesn't support all events like user created folders like drag , drop, or delete or rename. I want to keep my collection class less loaded. At begining of outlook , i can traverse to all folders with a recursive function. here I want to check if this folder is "Special folder". How can I achieve it? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Find number of sub Folders | MarkS | Outlook and VBA | 1 | February 4th 08 12:59 AM |
hide special folders in outlook 2007 | ivory_kitten | Outlook - Installation | 2 | April 24th 07 02:16 AM |
Can't find folders when trying to create rules | Kahri Lynn | Outlook Express | 4 | July 28th 06 10:09 AM |
Outlook 2003 IMAP Special Folders? | Marc Ferguson | Outlook - General Queries | 1 | January 31st 06 08:37 PM |
Outlook 2003 IMAP Special Folders? | Marc Ferguson | Outlook - General Queries | 0 | January 31st 06 05:19 PM |