A Microsoft Outlook email forum. Outlook Banter

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 » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Contacts
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Which contact field stores the photo?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 28th 09, 05:13 AM posted to microsoft.public.outlook.contacts
Graeme
external usenet poster
 
Posts: 21
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
Ads
  #2  
Old October 28th 09, 07:01 AM posted to microsoft.public.outlook.contacts
Rahu
external usenet poster
 
Posts: 3
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 09, 01:42 PM posted to microsoft.public.outlook.contacts
Sue Mosher [MVP][_4_]
external usenet poster
 
Posts: 552
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 09, 07:04 AM posted to microsoft.public.outlook.contacts
Graeme
external usenet poster
 
Posts: 21
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 09, 01:23 PM posted to microsoft.public.outlook.contacts
Sue Mosher [MVP][_4_]
external usenet poster
 
Posts: 552
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 Search this Thread
Search this Thread:

Advanced Search
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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you add a contact photo to a distribution list? Jamie Teem Outlook - Using Contacts 2 July 28th 09 04:55 PM
Contact photo [email protected] Outlook - Using Contacts 0 June 17th 09 01:11 PM
loaded nero7.now if open photo in email nero takes over no photo Ken Outlook - General Queries 1 December 3rd 06 01:00 PM
Photo in Contact won't forward as vCard YJ Outlook - Using Contacts 1 November 8th 06 02:54 PM
Apply Photo to Contact Programatix Outlook and VBA 2 August 17th 06 03:01 PM


All times are GMT +1. The time now is 03:40 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.