Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   Identifying folder type (http://www.outlookbanter.com/outlook-using-forms/81060-identifying-folder-type.html)

WLAN October 31st 08 12:02 AM

Identifying folder type
 
Hi,

I have an outlook addin which archives mails into repository. But i want to
show our application specific settings based on the folder type.

i.e. Outlook shows exchange mailbox, other user mailbox (delegate), PST
files, Archive folders, Public folders etc. I want to show my application
settings in a context menu.

But i want to show it for only Exchange mailbox or Other User
Mailbox(delegate) folders. So How do I determine the folder type?

Thanks in Advance


Ken Slovak - [MVP - Outlook] October 31st 08 02:05 PM

Identifying folder type
 
Outlook version? What language? Are you using a MAPI helper such as
Redemption?

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


"WLAN" wrote in message
...
Hi,

I have an outlook addin which archives mails into repository. But i want
to
show our application specific settings based on the folder type.

i.e. Outlook shows exchange mailbox, other user mailbox (delegate), PST
files, Archive folders, Public folders etc. I want to show my application
settings in a context menu.

But i want to show it for only Exchange mailbox or Other User
Mailbox(delegate) folders. So How do I determine the folder type?

Thanks in Advance



WLAN October 31st 08 03:50 PM

Identifying folder type
 
Hi,

I would like to support on Outlook 2003 & 2007 versions. Actually i'm
writing a outlook addin using C#.

Can you tell me which mechanisms i have to use for getting folder type?

Thanks


"Ken Slovak - [MVP - Outlook]" wrote:

Outlook version? What language? Are you using a MAPI helper such as
Redemption?

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


"WLAN" wrote in message
...
Hi,

I have an outlook addin which archives mails into repository. But i want
to
show our application specific settings based on the folder type.

i.e. Outlook shows exchange mailbox, other user mailbox (delegate), PST
files, Archive folders, Public folders etc. I want to show my application
settings in a context menu.

But i want to show it for only Exchange mailbox or Other User
Mailbox(delegate) folders. So How do I determine the folder type?

Thanks in Advance




Ken Slovak - [MVP - Outlook] October 31st 08 07:57 PM

Identifying folder type
 
Use the DefaultItemType property of the MAPIFolder object. Look in the
Outlook VBA project's Object Browser Help for information on what each
folder's DefaultItemType would be. You'll get back a member of the
olItemType enum.

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


"WLAN" wrote in message
...
Hi,

I would like to support on Outlook 2003 & 2007 versions. Actually i'm
writing a outlook addin using C#.

Can you tell me which mechanisms i have to use for getting folder type?

Thanks




All times are GMT +1. The time now is 09:03 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-2006 OutlookBanter.com