 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Nico Callewaert Guest
|
Posted: Mon Jan 24, 2005 2:05 pm Post subject: Exchange / Calendar |
|
|
Hi,
I use the following code to access the calendar in Outlook :
appOutlook.Connect;
NmSpace := appOutlook.GetNamespace('MAPI');
NmSpace.Logon('', '', False, False);
Calendar := NmSpace.GetDefaultFolder(olFolderCalendar);
Problem is my customer wants to access calendars of other
users. Is there a way to retrieve a list of all users from
the exchange server and then select wich calendar has to be
opened ?
Many thanks, Nico Callewaert
|
|
| Back to top |
|
 |
Dmitry Streblechenko Guest
|
Posted: Mon Jan 24, 2005 10:12 pm Post subject: Re: Exchange / Calendar |
|
|
You can use the Namespace.AddressLists collection to access GAL and
Namespace.GetDefaultSharedFolder to access other user's folders.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Nico Callewaert" <nico_callewaert (AT) hotmail (DOT) com> wrote
| Quote: |
Hi,
I use the following code to access the calendar in Outlook :
appOutlook.Connect;
NmSpace := appOutlook.GetNamespace('MAPI');
NmSpace.Logon('', '', False, False);
Calendar := NmSpace.GetDefaultFolder(olFolderCalendar);
Problem is my customer wants to access calendars of other
users. Is there a way to retrieve a list of all users from
the exchange server and then select wich calendar has to be
opened ?
Many thanks, Nico Callewaert
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|