PC Review


Reply
Thread Tools Rate Thread

ContactPicture Microsoft.Office.Interop.Outlook

 
 
Alexander
Guest
Posts: n/a
 
      11th Oct 2007
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????




 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      11th Oct 2007
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.

--
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


"Alexander" <(E-Mail Removed)> wrote in message
news:3A3DC50E-B883-47BC-BEEB-(E-Mail Removed)...
>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????
>
>
>
>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Zip the Microsoft.Office.Interop.Outlook.dll with my application. Cat Microsoft Outlook Interoperability 1 21st Jul 2010 02:08 PM
Microsoft.Office.Interop.Outlook Esther Microsoft Outlook Interoperability 1 24th May 2010 07:01 PM
Microsoft.Office.Interop.Outlook.Application =?Utf-8?B?TWlndWVsIEFyZW5hcw==?= Microsoft Outlook Discussion 1 22nd Jan 2006 10:58 PM
Microsoft.Office.Interop.Outlook.Application Stephen Noronha Microsoft ASP .NET 1 29th Sep 2005 04:16 AM
cant access Microsoft.Office.Interop.Outlook =?Utf-8?B?UGF1bA==?= Microsoft Outlook Interoperability 1 21st Feb 2005 07:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:03 PM.