![]() |
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 |
#5
|
|||
|
|||
![]()
Just a note on this: In Outlook 2007, delegate folders are cached if they're not opened through a secondary mailbox.
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Dmitry Streblechenko" wrote in message ... You can use Extended MAPI (C++/Delphi only), CDO 1.21 or Redemption to read the PR_MAILBOX_OWNER_ENTRYID property from the folder if the folder if is not cached (it is not in case of a delegate folder). If it is cached, things get a bit more interesting... plug You can use RDOFolder.Store.Owner to figure out the owner in case of Redemption skPrimaryExchangeMailbox = 3 skDelegateExchangeMailbox = 4 set Session = CreateObject("Redemption.RDOSession") Session.MAPIOBJECT = Application.Session.MAPIOBJECT set Folder = Session.GetFolderFromID(Application.ActiveExplorer .CurrentFolder.EntryID) set Store = Folder.Store if (Store.StoreKind = skPrimaryExchangeMailbox) or (Store.StoreKind = skDelegateExchangeMailbox) Then MsgBox Store.Owner.Name End If /plug Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "DENNIS BROWN" wrote in message ... Yes, the name of the owner. On screen, it shows "Calendar - Dennis B.", but I don't know how to get that info with the om. -- Thanks, Dennis "Dmitry Streblechenko" wrote in message ... The folder name will be "Calendar". Do you mean the owner's name? Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "DENNIS BROWN" wrote in message . .. If I have 5 shared calendars open across the exchange server, how would I get the name of the folder that has focus at any given time? If the 5 calendars were Michael P., Dennis B., Kevin S., Winston C., and Fred K., and I'm in Winston C.'s calendar, how would I retrieve that folder's name? -- Thanks, Dennis |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Public Folder/Folder Assistant Forwarding email w/o original sender name | xtremluck | Outlook - General Queries | 2 | December 20th 06 08:57 PM |
activate contact folder from public folder with "show this folder as email address book using a prf file | Frankie K. | Outlook - Using Contacts | 7 | July 25th 06 05:37 PM |
Calendar folder missing from folder list in outlook 2003 | Bill B | Outlook - Calandaring | 11 | July 7th 06 04:44 PM |
Create a search folder to look at all emails in one folder and selected criteria in other folders | [email protected] | Outlook - General Queries | 1 | April 10th 06 09:40 AM |
Junk E-mail folder - is there a way to create a rule to delete items in this folder older than X days? | Jaycee | Outlook - General Queries | 1 | February 22nd 06 04:54 PM |