View Single Post
  #10  
Old July 26th 07, 11:48 PM posted to microsoft.public.office.developer.outlook.vba,microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Link between contact and task/journal

You need to look at PR_SEARCH_KEY of contacts, not tasks.
The tasks store the contacts search keys in the
{00062008-0000-0000-C000-000000000046}, 0x8584, PT_BINARY
named property blob.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Matt Williamson" wrote in message
...
The entry ids are ether the same or they are not.
Search keys are not exposed through the Outlook Object Model, but you can
look at them using MFCMAPI or OutlookSpy (click IMessage).


the PR_SEARCH_KEY field is the same for each task, but it's different for
the contact. How do I determine which contact the task belongs to as if I
clicked on the contacts, clicked the Activity tab and changed the combo to
Tasks.

TIA

Matt



Ads