Copying olOLE Attachments in Outlook

S

Stacey

Hi There,

I am looking for a way to copy an Attachment of type olOLE from one
contact to another using VB.net.

Any suggestions would be greatly appreciated. I have all other types
copying no problem, but I cannot get an olOLE attachment to work. I
have tried adding it as the object in the .Attachments.Add method but
I get an exception "Member not found". Here is the code I have, that
doesn't work. (The type of object I am testing with is a birthday
reminder to the calendar).

newContact.Attachments.Add(contactAttachment,
Outlook.OlAttachmentType.olOLE, , "")

Even any assistance in pulling any sort of data on the object out
would be greatly appreciated.

Thanks,
Stacey
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top