The task won't appear on the contact's Activities page until you save the
task.
Which activities list are you looking at -- All Items? Upcoming
Tasks/Appointments? Are you watching until the animation on the right side
of the window stops?
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"yannickestrada" wrote in message
...
Sorry Sue, that was ocurring when I run the code in a VBA project.
My code looks like this:
Set myTask= Application.CreateItem(3)
myTask.Subject = "Subject"
myTask.DueDate = #17/09/2009#
myTask.Save
Item.Save
Set colLinks = myTask.Links
Set oLinks = colLinks.Add(Item)
Now the Add function isnīt the problem. I checked the colLinks count and
the
add is happening, but I never see the task in the Activities tab.
Thanks.
"Sue Mosher [MVP]" wrote:
Sorry, but I don't understand what you mean by "appears my custom form as
a
contact element."
The Activities tab does an on-demand search each time you use it, which
can
be quite slow, depending on how many folders are included in the selected
activity group. Maybe you just need to wait longer for the search to
complete.
"yannickestrada" wrote in
message
...
Thanks Sue, that works.
But know I had 2 problems. The task doesnīt appear in the Activities
tab
like I expected, instead appears my custom form as a contact element.
The other problem is that the elements in Activities tab sometimes
appears
sometimes not. Why is that? I use Outlook 2007.