B
Bodo
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?
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?