Board index » delphi » Get appointments from Outlook calendar

Get appointments from Outlook calendar

Hello,

How can I get appointments from Microsoft Outlook calendar?
I want use it in my application.

Thanks
Zion

 

Re:Get appointments from Outlook calendar


Folder := Application.Session.GetNamespace('MAPI').GetDefaultFolder(9
{olFolderCalendar})
Items:=Folder.Items;
for i:=1 to Items.Count do begin
  Appt:=Items.Item(i).
  ShowMessage(Appt.Subject)
end;

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

Quote
"zion" <zi...@synel.co.il> wrote in message news:3be01153_1@dnews...
> Hello,

> How can I get appointments from Microsoft Outlook calendar?
> I want use it in my application.

> Thanks
> Zion

Other Threads