A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to find Special folders?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 29th 08, 03:49 PM posted to microsoft.public.outlook.program_addins
Neetu
external usenet poster
 
Posts: 19
Default How to find Special folders?

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  
Old May 29th 08, 04:31 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to find Special folders?

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 08:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.