Copying olOLE Attachments in Outlook

  • Thread starter Thread starter Stacey
  • Start date Start date
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
 
Back
Top