Solved

Adding an OLE bounded field to the Contact form in Outlook 2000

Posted on 2000-03-17
2
202 Views
Last Modified: 2010-04-08
Hi all!
A user is able to customize any form in oulook. He can add, remove controls as he wishes. He can also add other OCX controls to the tool box.

That toolbox contains an Image control.

I would like to add a picture of my contact in  the form using the Image control or any other OCX control.

Unfortunately, when it's time to define what field the control will be bound to, there is no choice but to use text, numerical, boolean or date/time type field.

This is crucial for me because if I cannot bind the control to a field that cant host images, I end up with the same picture for everyone.

Does anyone know how to circumvent that limitation? Did I miss something?

PS: I know I can do this easily in Access. But I really need to do this in outlook 2000.

Thanx in advance

T3MPoR3L
0
Comment
Question by:temporel
2 Comments
 
LVL 3

Accepted Solution

by:
SMosher earned 100 total points
ID: 2639954
Don't bind the control to a field. Use the built-in User 1 text field to store the path to the picture for each contact. Add code to the Item_Open event handler on the form to set an objCtrl object for the Image control. Then add this code to set the picture:

objCtrl.Picture = LoadPicture(Item.User1)

You can use any text field, of course, not just User1, adjusting the code accordingly.
0
 

Author Comment

by:temporel
ID: 2642490
Thanx Dude!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Find out what you should include to make the best professional email signature for your organization.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now