Andy Trezise
2005-04-11 11:45:53 UTC
Hi
Can anyone tell me how to retrieve an appointment out of my outlook
calendar?
I add the appointment as follows, but I don't know how I can get the message
back and change it (i.e. add more text, change time etc).
-----------------------------
oOutlook = CREATEOBJECT("Outlook.Application")
oNS = oOutlook.GetNamespace("MAPI")
oNS.Logon()
oAppt = oOutlook.CreateItem(oAppointmentItem)
WITH oAppt
.Subject = "Appointment"
.Body = "Development Meeting"
.Location = "My Office"
.Start = &cStart
.End = cEnd
.ReminderSet = .t.
.ReminderMinutesBeforeStart = 5
.SAVE()
ENDWITH
--------------
Many Thanks....
Can anyone tell me how to retrieve an appointment out of my outlook
calendar?
I add the appointment as follows, but I don't know how I can get the message
back and change it (i.e. add more text, change time etc).
-----------------------------
oOutlook = CREATEOBJECT("Outlook.Application")
oNS = oOutlook.GetNamespace("MAPI")
oNS.Logon()
oAppt = oOutlook.CreateItem(oAppointmentItem)
WITH oAppt
.Subject = "Appointment"
.Body = "Development Meeting"
.Location = "My Office"
.Start = &cStart
.End = cEnd
.ReminderSet = .t.
.ReminderMinutesBeforeStart = 5
.SAVE()
ENDWITH
--------------
Many Thanks....