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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|