I've been trying to list the appointments for a given date (say today) on a tmemo by using OLE under delphi. It's been unsuccessful so far. The basic code starts with
try
Outlook := GetActiveOleObject('outlook.application');
except
Outlook := CreateOleObject('outlook.application');
end;
Namespace := Outlook.GetNamespace('MAPI');
Calendar := Namespace.GetDefaultFolder(olFolderCalendar); // or use $000009
from there I tried to access Calendar.Items but I get different results each time and I don't see the recurring appointments even when I set the option to true.
Is there any way to list the appointments for a given date using Delphi 7? Code is appreciated.
Thanks