A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Outlook » Contacts
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Which contact field stores the photo?



 
 
Thread Tools Display Modes
  #1  
Old October 28th, 2009, 05:13 AM posted to microsoft.public.outlook.contacts
Graeme
external usenet poster
 
Posts: 64
Default Which contact field stores the photo?

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
  #2  
Old October 28th, 2009, 07:01 AM posted to microsoft.public.outlook.contacts
Rahu
external usenet poster
 
Posts: 2
Default Which contact field stores the photo?

I use c++ mapi so I am giving answer in that term.
I know that it is inside dispidHasPicture property. This decides if picture
is available or not.
http://msdn.microsoft.com/en-us/library/cc842452.aspx

If it is available then retrieve picture data from dispidBCCardPicture
http://msdn.microsoft.com/en-us/library/ee204495.aspx

Till now I haven't programmed for picture data; so I don't know more about
it.

"Graeme" wrote:

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

  #3  
Old October 28th, 2009, 01:42 PM posted to microsoft.public.outlook.contacts
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 232
Default Which contact field stores the photo?

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.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Graeme" wrote in message
...
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



  #4  
Old November 3rd, 2009, 07:04 AM posted to microsoft.public.outlook.contacts
Graeme
external usenet poster
 
Posts: 64
Default Which contact field stores the photo?

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

"Sue Mosher [MVP]" wrote:

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.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Graeme" wrote in message
...
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



.

  #5  
Old November 3rd, 2009, 01:23 PM posted to microsoft.public.outlook.contacts
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 232
Default Which contact field stores the photo?

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


"Graeme" wrote in message
...
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

"Sue Mosher [MVP]" wrote:

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.

"Graeme" wrote in message
...
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



.



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:14 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.