VB.NET 2005 in Outlook Task Automation

V

vbtrying

Can I assign a task from within VB.NET to another user other than myself? I
can assign a task to my current task list, but I want to assign tasks across
the corporate enterprise to other people. Can this be done?

I am using VB.NET 2005, Outlook 2003
 
V

vbtrying

Here is the code I am using: This works fine for sending a TASK to my own
Outlook account:

Dim App As Outlook.Application
Dim Task As Outlook.TaskItem
App = CreateObject("Outlook.Application")
Task = App.CreateItem(Outlook.OlItemType.olTaskItem)
With Task
.Subject = "This is the SUBJECT line"
.Body = "This is the BODY of the text"
.ReminderSet = True
.DueDate = DateAdd(DateInterval.Day, 5, Today)
.Save()
End With
 
V

vbtrying

Ed,

I spoke too soon. This process puts a mail item entry into the receipients
inbox. It does not put a task line item in the receipients task list. That is
what I was looking for.

Thanks anyway, I'll keep looking ....

Terry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top