You need the contact as a ContactItem. Then get the Links collection of the
new task item and add that ContactItem to the Links collection of the task
using the Links.Add method.
--
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
...
Regards.
Hi I´m trying to create a task in a custom Contact form in Outlook. I
would
like that the task appears in the Activities tab, but I only get to create
the task in the session, can´t associate with the current contact form.
How I can do that?
I was trying to link the Task Item with the contact form bu that don´t
seems
to work.
Thanks for your help.
Yannick