Solved

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

Posted on 2000-03-17
2
213 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
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 Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

785 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