A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook 2002 SP3:Problem with adding attachment to custom contact



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 31st 07, 04:18 PM posted to microsoft.public.outlook.program_forms
Bodo
external usenet poster
 
Posts: 13
Default Outlook 2002 SP3:Problem with adding attachment to custom contact

Hello,
I use the following vbScript-code to add an attachment (image type) to a
custom
contact item:

Set myAttachments = Item.Attachments
If myAttachments.count = 0 then
myAttachments.add strPath, olEmbeddeditem , 1, "picture"
end if

I assume that the code above adds the file as an embedded attachment to the
item, not just as a link to the file location.

However, when I open the item, the file is addedd as a link.

When I try to add a file to the contact item from menu Insert...File and
choose attachment in file open dialog the file is acctually add as an
embedded file.

How can I do that programmatically?



--
Thanks in advance
Bodo
Ads
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2002 SP3:Problem with adding attachment to custom contact Bodo Outlook - Using Forms 0 August 31st 07 04:18 PM
Adding contact information to custom form razornt Outlook - Using Forms 1 October 20th 06 04:52 PM
Attachment Problem with Custom Form HHo Outlook - Using Forms 6 September 29th 06 03:32 AM
problem in adding value to custom field in inbox Zoom Outlook and VBA 1 May 28th 06 02:40 PM
office xp (2002) attachment problem RJ Outlook - General Queries 4 May 19th 06 10:27 PM


All times are GMT +1. The time now is 09:55 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.