Outlook Appointments

  • Thread starter Thread starter DENNIS BROWN
  • Start date Start date
D

DENNIS BROWN

Hi,
I need to read all the appointments for the currently focused day into variables for use in a 3rd party adaptive-access application.
Where would I find examples of doing this?
What I need to do is retrieve the appointment properties for each appointment within the current day the user has focused on within the Day View of their calendar.
I just need to retrieve the data, not set it, so any code examples of how to retrieve that data would be greatly appreciated!
 
Am Fri, 29 Sep 2006 21:27:54 -0400 schrieb DENNIS BROWN:

This sample shows how to get all appointments of a specific day:
http://www.vboffice.net/sample.html?mnu=2&smp=13&cmd=showitem

Call it like this:

Dim Result as Outlook.Items
Dim Count as Long

Count=AppointmentsAtDay(Date, Result)
If Count > 0 Then
...
Endif

You can then loop through the Result collection and read each objects
properties.

To get the selected day you need a workaround: Create an AppointmentItem and
read its Start property.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --

Hi,
I need to read all the appointments for the currently focused day into
variables for use in a 3rd party adaptive-access application.
Where would I find examples of doing this?
What I need to do is retrieve the appointment properties for each
appointment within the current day the user has focused on within the Day
View of their calendar.
I just need to retrieve the data, not set it, so any code examples of how
to retrieve that data would be greatly appreciated!
 
Thanks! That'll give me a start!

--

Thanks,
Dennis
Am Fri, 29 Sep 2006 21:27:54 -0400 schrieb DENNIS BROWN:

This sample shows how to get all appointments of a specific day:
http://www.vboffice.net/sample.html?mnu=2&smp=13&cmd=showitem

Call it like this:

Dim Result as Outlook.Items
Dim Count as Long

Count=AppointmentsAtDay(Date, Result)
If Count > 0 Then
...
Endif

You can then loop through the Result collection and read each objects
properties.

To get the selected day you need a workaround: Create an AppointmentItem and
read its Start property.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --

Hi,
I need to read all the appointments for the currently focused day into
variables for use in a 3rd party adaptive-access application.
Where would I find examples of doing this?
What I need to do is retrieve the appointment properties for each
appointment within the current day the user has focused on within the Day
View of their calendar.
I just need to retrieve the data, not set it, so any code examples of how
to retrieve that data would be greatly appreciated!
 
Back
Top