Outlook Automation Contact Photo Access

A

Alexander

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;

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

Alexander

Thanks/Danke Michael,

can you be more specific? i have been trying all day? do i need to use the
OlkContactPhoto object?

please advise




Michael Bauer said:
Look at the Attachments collection.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:

<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>

Am Wed, 10 Oct 2007 18:18:41 -0700 schrieb Alexander:
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;

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top