How do I display a contact picture in a user defined form or cust.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is the contact picture associated with a user accessable field? I would like
to create a custom form and view similar to an ID badge displaying a contact
photo and basic information.
 
How do I access the contact picture in Outlook 2003, which is some sort of
"attachment". I know how to add it to a form once I have access to it.
 
An item that already has a picture stores the image in an attachment named
ContactPicture.jpg.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
How do I access ContactPicture.jpg or any attachment for that matter. The
only field available, that I am aware of is "attachment" which is boolean
("yes"/"no")? Obviously the default contacts form has access; and I can
display it by right,clicking and choosing "view attachment"; but how can I
access it to put on my own custom form? The standard library version of the
contacts form omits this field in the forms designer.
 
Take a look at the MailItem.Attachments collection and the Attachment object
and their methods, which you can use in code, including VBScript behind a
form.

The new picture control on the Outlook 2003 contact form is not available to
programmers. The page I suggested earlier has alternative solutions.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top