|
|
|
start date: Wed, 01 Aug 2007 08:09:28 -0400,
posted on: microsoft.public.dotnet.framework.compactframework
back
| Thread Index |
|
1
dgk
|
|
2
Treadstone
|
|
3
dgk
|
How can I access calendar data?
Anyone have an example of how to access the appointments in the
calendar?
Date:Wed, 01 Aug 2007 08:09:28 -0400
Author:
|
Re: How can I access calendar data?
On Aug 1, 5:09 pm, dgk wrote:
> Anyone have an example of how to access the appointments in the
> calendar?
Create a new OutlookSession and then use the
Newoutlooksession.Appointments.Items to access the appointments.
You may then browse through the entire list in a for loop and separate
out the various fields like Date etc.
Here is the code to do it:
private AppointmentCollection appointmentCollection;
NewOutlookSession = new OutlookSession( );
appointmentCollection = NewOutlookSession.Appointments.Items;
//You may then use your custom code to display only select parts of
the calendar items
Regards,
Treadstone
Date:Thu, 02 Aug 2007 06:48:42 -0000
Author:
|
Re: How can I access calendar data?
On Thu, 02 Aug 2007 06:48:42 -0000, Treadstone
wrote:
>On Aug 1, 5:09 pm, dgk wrote:
>> Anyone have an example of how to access the appointments in the
>> calendar?
>
>Create a new OutlookSession and then use the
>Newoutlooksession.Appointments.Items to access the appointments.
>You may then browse through the entire list in a for loop and separate
>out the various fields like Date etc.
>
>Here is the code to do it:
>
>private AppointmentCollection appointmentCollection;
>NewOutlookSession = new OutlookSession( );
>appointmentCollection = NewOutlookSession.Appointments.Items;
>
>//You may then use your custom code to display only select parts of
>the calendar items
>
>
>Regards,
> Treadstone
Thanks, perfect.
Date:Thu, 02 Aug 2007 08:34:57 -0400
Author:
|
|
|