PC Review


Reply
Thread Tools Rate Thread

how to add Http Picture to a contact item

 
 
=?Utf-8?B?bG9zdHdpbmdz?=
Guest
Posts: n/a
 
      12th Dec 2005
hi Ken,

My previous question was pretty simple. The Scenario I was talking about is
for outlook 2003 contact Picture, I know AddPic method can add picture that
resides on the local hard drive to a contact item, like the following

dim customcontact as ContactItem
customcontack.AddPic ("c:\temp\bill.jpg")

I was asking is there a way to load the picture not from local hard drive,
but directly from a HTTP Link, to a certain contact item. such as

dim customcontact as ContactItem
customcontack.AddPic ("http://www.microsoft.com/bill.jpg")

I have tried the AppPic("http://******"), but it didn't work out.

Thanks for any help!

----------------------------------------------------------------------------------------------------------

As what? An embedded attachment to the contact in the Notes field or a
contact picture for Outlook 2003 or what? For a contact picture use the
HasPicture boolean property and the AddPicture and RemovePicture methods.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"lostwings" <(E-Mail Removed)> wrote in message
news:A64FCD66-373E-42D2-9AEB-(E-Mail Removed)...
> hi,
>
> I met a problem for my COM Add-In. Is there a way to Add a Http pic to
> the
> local contact item?
> --
> John 3:16




--
John 3:16
 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      13th Dec 2005
It's AddPicture, not AddPic. It only takes a file name and path so you'd
need to download that image from the Web and save it locally and refer to
that file path.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"lostwings" <(E-Mail Removed)> wrote in message
news:B006ED5E-973B-4E96-A0FD-(E-Mail Removed)...
> hi Ken,
>
> My previous question was pretty simple. The Scenario I was talking about
> is
> for outlook 2003 contact Picture, I know AddPic method can add picture
> that
> resides on the local hard drive to a contact item, like the following
>
> dim customcontact as ContactItem
> customcontack.AddPic ("c:\temp\bill.jpg")
>
> I was asking is there a way to load the picture not from local hard drive,
> but directly from a HTTP Link, to a certain contact item. such as
>
> dim customcontact as ContactItem
> customcontack.AddPic ("http://www.microsoft.com/bill.jpg")
>
> I have tried the AppPic("http://******"), but it didn't work out.
>
> Thanks for any help!


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to include contact picture in a contact list print-out? =?Utf-8?B?ZWRqb2hu?= Microsoft Outlook Contacts 0 29th Dec 2005 09:12 PM
how to add http Pics to the contact item =?Utf-8?B?bG9zdHdpbmdz?= Microsoft Outlook VBA Programming 1 12th Dec 2005 02:33 PM
imbed picture in contact form and add button to browse to picture file Rasta Microsoft Outlook Form Programming 6 20th Apr 2005 12:14 AM
picture near the name of the contact item Tokamak Microsoft Outlook Form Programming 5 25th Feb 2005 08:43 PM
Select contact (item) in contact-list (explorer-object) Daniel Larsson Microsoft Outlook Form Programming 2 2nd Sep 2003 02:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:46 PM.