Try an experiment and do the same code in the Outlook VBA project. Declare
the item as a ContactItem and get it from
Application.ActiveInspector.CurrentItem. Then run the code that creates a
new task and see if the adding to the Links collection works there.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"yannickestrada" wrote in message
...
Same error. I don“t know what is the problem, because the Item is like
Item.Contact.MyForm, that should work.
Thanks again.