Which contact field stores the photo?

  • Thread starter Thread starter Graeme
  • Start date Start date
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
 
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.
 
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
 
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
 
Back
Top