Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Interop / October 2007

Tip: Looking for answers? Try searching our database.

ContactPicture Microsoft.Office.Interop.Outlook

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alexander - 11 Oct 2007 02:18 GMT
I am trying to use the office interop to retrieve a contact photo for a
given contact if available

I am able to iterate thru my contacts:

Outlook.ContactItem contact =
    (Outlook.ContactItem)contacts.Items[i];

and i am able to check if a contact has a contact photo:

if(contact.HasPicture)

but i have no idea how i can get access to the ContactPhoto and i been
googling with no luck????
Ken Slovak - [MVP - Outlook] - 11 Oct 2007 14:07 GMT
The contact picture is an attachment on the item. You would have to go
through the Attachments collection of the item and find the picture that
way.

Signature

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

>I am trying to use the office interop to retrieve a contact photo for a
>given contact if available
[quoted text clipped - 10 lines]
> but i have no idea how i can get access to the ContactPhoto and i been
> googling with no luck????
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.