?
Solved

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

Posted on 2000-03-17
2
Medium Priority
?
245 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
SMosher earned 400 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Many people use more than one email account and so it becomes difficult for them to manage them when they use separate accounts,  so, in this article, I have shared an easy way to add Other Mail Accounts in your Google Inbox. It helps to combine all…
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

752 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