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 » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Identifying folder type



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 31st 08, 12:02 AM posted to microsoft.public.outlook.program_forms
WLAN
external usenet poster
 
Posts: 49
Default 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

  #2  
Old October 31st 08, 02:05 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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


  #3  
Old October 31st 08, 03:50 PM posted to microsoft.public.outlook.program_forms
WLAN
external usenet poster
 
Posts: 49
Default 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



  #4  
Old October 31st 08, 07:57 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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


 




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
Recognize the type of the clicked folder in outlook Hichem Sarrai[_2_] Add-ins for Outlook 4 August 4th 08 04:05 PM
Identifying conflicting appointments JD2 Outlook - Calandaring 0 May 22nd 08 08:40 AM
Identifying Outlook groups using the OOM Chris[_4_] Add-ins for Outlook 4 November 15th 07 09:59 AM
Detecting the type of items for a folder dch3 Outlook and VBA 5 November 5th 07 06:11 PM
identifying calendar conflicts Peter Grono Outlook - Calandaring 0 July 31st 06 12:41 PM


All times are GMT +1. The time now is 12:41 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.