S
Steven Yarger
All-
I am trying to Send/Assign an Outlook taskitem from VB.NET code.
The example code given in Microsoft's online help doesn't compile (see code
below) due to the following error:
C:\productiondb\NASManagerBizObjects\NotificationManager.vb(140): 'Send' is
ambiguous across the inherited interfaces 'Outlook._TaskItem' and
'Outlook.ItemEvents_Event'.
Any ideas? thanks/gracias/Vielen Dank!
Set myOlApp = CreateObject("Outlook.Application")
Set myItem = myOlApp.CreateItem(olTaskItem)
myItem.Assign
Set myDelegate = myItem.Recipients.Add("April LaMonte")
myItem.Subject = "Prepare Agenda For Meeting"
myItem.DueDate = #9/20/97#
myItem.Send ' ************* COMPILE ERROR HERE
I am trying to Send/Assign an Outlook taskitem from VB.NET code.
The example code given in Microsoft's online help doesn't compile (see code
below) due to the following error:
C:\productiondb\NASManagerBizObjects\NotificationManager.vb(140): 'Send' is
ambiguous across the inherited interfaces 'Outlook._TaskItem' and
'Outlook.ItemEvents_Event'.
Any ideas? thanks/gracias/Vielen Dank!
Set myOlApp = CreateObject("Outlook.Application")
Set myItem = myOlApp.CreateItem(olTaskItem)
myItem.Assign
Set myDelegate = myItem.Recipients.Add("April LaMonte")
myItem.Subject = "Prepare Agenda For Meeting"
myItem.DueDate = #9/20/97#
myItem.Send ' ************* COMPILE ERROR HERE