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

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.
 
G

Guest

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.
 
S

Sue Mosher [MVP-Outlook]

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
 
G

Guest

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.
 
S

Sue Mosher [MVP-Outlook]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top