Hi all , how are you ?
I am self training for outlook automations….
I try to use Outlook “MeetingItem” but I get error I cant find any help in MSDN
VAR:
OutlookApp Automation 'Microsoft Outlook 10.0 Object Library'.Application
OutlookMeeting Automation 'Microsoft Outlook 10.0 Object Library'.MeetingItem
CODE:
CLEAR(OutlookApp);
CLEAR(OutlookMeeting);
CREATE(OutlookApp);
//CREATE(OutlookMeeting);
OutlookMeeting:= OutlookApp.CreateItem(3);
OutlookMeeting.Subject:=’TEXT SAMPLE’;
OutlookMeeting.Body:= ’TEXT SAMPLE’;
OutlookMeeting.ReminderSet:= TRUE;
OutlookMeeting.Save;
OutlookMeeting.Display;
CLEAR(OutlookApp);
CLEAR(OutlookMeeting);
I get error messsage :
"Invalid assigment.It is not possible to assing a_TaskItem to a MeetingItem"
Why ? Please Can you Help Me….
Comments
UK
Would that be ok for you?
Variables:
OutlookApp Automation 'Microsoft Outlook 11.0 Object Library'.Application
OutlookMeeting Automation 'Microsoft Outlook 11.0 Object Library'.AppointmentItem
It works at least
Dmitry