![]() |
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
|
|||
|
|||
![]()
Given an item object, can I programmatically determine if it belongs to the
current user or is in a shared folder? |
Ads |
#2
|
|||
|
|||
![]()
If you are using Outlook 2007, read the Parent property (returns MAPIFolder
object), then read the MAPIFolder.Store.ExchangeStoreType property - check whether it is olPrimaryExchangeMailbox vs olExchangeMailbox. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Tadwick" wrote in message ... Given an item object, can I programmatically determine if it belongs to the current user or is in a shared folder? |
#3
|
|||
|
|||
![]()
Thanks, Dmitry - I will try that
"Dmitry Streblechenko" wrote: If you are using Outlook 2007, read the Parent property (returns MAPIFolder object), then read the MAPIFolder.Store.ExchangeStoreType property - check whether it is olPrimaryExchangeMailbox vs olExchangeMailbox. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Tadwick" wrote in message ... Given an item object, can I programmatically determine if it belongs to the current user or is in a shared folder? |
#4
|
|||
|
|||
![]()
Dmitry,
This doesn't work for shared folders: http://msdn.microsoft.com/en-us/libr...r.store. aspx "Tadwick" wrote: Thanks, Dmitry - I will try that "Dmitry Streblechenko" wrote: If you are using Outlook 2007, read the Parent property (returns MAPIFolder object), then read the MAPIFolder.Store.ExchangeStoreType property - check whether it is olPrimaryExchangeMailbox vs olExchangeMailbox. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Tadwick" wrote in message ... Given an item object, can I programmatically determine if it belongs to the current user or is in a shared folder? |
#5
|
|||
|
|||
![]()
Hmmm.. So when you get Null from Folder.Store, you have a delegate folder...
-- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Tadwick" wrote in message ... Dmitry, This doesn't work for shared folders: http://msdn.microsoft.com/en-us/libr...r.store. aspx "Tadwick" wrote: Thanks, Dmitry - I will try that "Dmitry Streblechenko" wrote: If you are using Outlook 2007, read the Parent property (returns MAPIFolder object), then read the MAPIFolder.Store.ExchangeStoreType property - check whether it is olPrimaryExchangeMailbox vs olExchangeMailbox. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Tadwick" wrote in message ... Given an item object, can I programmatically determine if it belongs to the current user or is in a shared folder? |
#6
|
|||
|
|||
![]()
yeah, that's the logic I'm running with
![]() "Dmitry Streblechenko" wrote: Hmmm.. So when you get Null from Folder.Store, you have a delegate folder... -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Tadwick" wrote in message ... Dmitry, This doesn't work for shared folders: http://msdn.microsoft.com/en-us/libr...r.store. aspx "Tadwick" wrote: Thanks, Dmitry - I will try that "Dmitry Streblechenko" wrote: If you are using Outlook 2007, read the Parent property (returns MAPIFolder object), then read the MAPIFolder.Store.ExchangeStoreType property - check whether it is olPrimaryExchangeMailbox vs olExchangeMailbox. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Tadwick" wrote in message ... Given an item object, can I programmatically determine if it belongs to the current user or is in a shared folder? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
I cant create new item in shared calendar | sbuldakov | Outlook - Calandaring | 2 | February 3rd 09 08:54 AM |
How to determine if a sent item comes from a shared inbox folder | [email protected] | Add-ins for Outlook | 3 | November 10th 08 04:18 PM |
OL2007 - determine if shared calendar folder has been cached | Tadwick | Outlook and VBA | 1 | November 7th 08 10:03 AM |
Determine the source from an item with VB.Script | Oskar Vaia | Outlook - Using Forms | 1 | August 14th 08 03:38 AM |
Determine if an Item is New | dch3 | Outlook - Using Forms | 1 | July 26th 07 04:17 AM |