zl_Cynthia

I am doing an add-in in Outlook 2003. I want to retrieve free/busy data of some meeting rooms. And I use this command

"http://{0}/public/ cmd=freebusy&start={1}&end={2}&interval={3}&u=SMTP:{4} "

But now I want to realize a function quite like Scheduling in Appointment(File -> New -> Appointment). But this also relating to Recurrence settings. That means I could get free/busy data of one meeting room in a never-ending period, and this only shows the recurrence time period, not the whole working time. It like below:

Recurrence pattern: Daily

Start: 2:00 PM

End: 4:00 PM

2007.10.25(2:00-4:00PM)

2007.10.26(2:00-4:00PM)

2007.10.27(2:00-4:00PM)

2007.10.28(2:00-4:00PM)

¡­..

Meeting room

free

busy

free

busy

The current method I used is to retrieve every data status through HTTP, but when I retrieve so many meeting rooms it will be quite slow.

How could the retrieving speed be quick like Scheduling's retrieving speed in appointment Is there other methods

Thanks




Re: Visual Studio Tools for Office problem about calendar in appointment

Sue Mosher - Outlook MVP

The Outlook object model exposes an AddressEntry.GetFreeBusy method that should be quite a bit faster than HTTP. See http://msdn2.microsoft.com/en-us/library/microsoft.office.interop.outlook.addressentry.getfreebusy.aspx