Which contact field stores the photo?

G

Graeme

In Outlook 2007, is there a Contact field that stores a link to the the
contact photo?

I ask because I want to email everyone I don't have a photo for. So I'm
trying to export all the contact data and then use access to construct some
kind of query to find those for whom this 'photo field' is blank.

well, that's the theory anyway...

TIA, Graeme
 
S

Sue Mosher [MVP]

It is not possible to construct a query to do that, because there is no such
simple property holding that information. (And it's not a link either.) It
would, however, be possible to iterate the folder using VBA code, checking
each ContactItem.Attachments collection to see whether it contains an
attachment named ContactPicture.jpg, which is the name Outlook always uses
for these pictures.
 
G

Graeme

Thank you Sue. such knowledge is too wonderful for me! I think I will just
have to work through them manually and wirte it down withe the old 'pen and
ink'!

Graeme
 
S

Sue Mosher [MVP]

You can get a little bit of help by filtering the view so it shows only
those items that have attachments. That will also capture contacts with
birthday or anniversary links, but it should narrow down the list at least a
little.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 

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