How to copy Contact Item to Clipboard and Paste as "VCF Link?

  • Thread starter Thread starter Ken Florian
  • Start date Start date
K

Ken Florian

I have code that creates a Task Item for the currently active Contact.

I want to embed a link (VCF?) to the currently active Contact Item in the
Body of the Task.

I have a programmatic reference to the Contact Item...just now sure how to
do the copy / paste of a reference to that Item into the Task.Body field.

Thanks,
 
Save the contact as a vCard (ContactItem.SaveAs..., olVCard), then read the
file and insert its contents in the task body.
Or simply attach the file as an attachment.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 
Dmitry,

Thanks very much for the help.

I've got the ContactItem saving as a vcf per your example but it looks like
the "attachments" property is Read-Only. I'm not sure how to
programmatically "save" an attachment to the Task record.

Ken
 
Back
Top