Picture in Contact User Defined Form

  • Thread starter Erich von Maurnböck
  • Start date
E

Erich von Maurnböck

Hello,
I use Outlook 2003 and 2007 with a userdefined contact form. The original
form shows the picture of the contact within the form. As I have changed the
form, this picture "field" is no longer shown on the page.
How can I get the picture back into the form?
Thank you,
Murphy
 
K

Ken Slovak - [MVP - Outlook]

The only way would be to add a picture control to your form and read the
hidden attachment that represents the picture and then save it to the file
system using code and use code to load the picture file into your picture
box control. It's a hack because there will always be conditions where the
user might view the contact item and not see the picture, plus of course
with code in the form it wouldn't show up in the reading pane.
 
E

Erich von Maurnböck

Hello Ken,
thank you for your reply.
What is the reason, that Outlook is doing this? Without changing anything in
the form, the picture appears correctly. But as you go into the draft mode
of the form, you don't see it. This is very strange.
Best regards,
Murphy

Ken Slovak - said:
The only way would be to add a picture control to your form and read the
hidden attachment that represents the picture and then save it to the file
system using code and use code to load the picture file into your picture
box control. It's a hack because there will always be conditions where the
user might view the contact item and not see the picture, plus of course
with code in the form it wouldn't show up in the reading pane.
 

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