![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Can someone direct me to a starting point for developing a calendar program
that accepts input of a desired time-block length (e.g. 15 minutes) that will search the calendar & return available blocks of time of the specified length? I want to find the 1st available block of that length or longer. If the user chooses to use that block, I will let them create an appointment, If not, I want to go to the next available block, etc. I haven't done any programming related to Calendar, so don't know where to begin. A point in the right direction will be greatly appreciated. -- Will |
Ads |
#2
|
|||
|
|||
![]()
For a specific Recipient object you can use the FreeBusy() method, which
takes arguments for start date, minutes per return character and an optional format argument. For an AddressEntry object you can use the GetFreeBusy() method which takes the same arguments. If you supply MinPerChar = 15 that sets a 15 minute free/busy return block. What you get back is a string that has "0" for each free period and "1" for each busy/OOF/tentative block. If you specify True for CompleteFormat you get back more detail where you get individual values for busy ("2"), tentative ("1"), out of office ("3"). "0" would still be free in that case. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "wpiet" wrote in message ... Can someone direct me to a starting point for developing a calendar program that accepts input of a desired time-block length (e.g. 15 minutes) that will search the calendar & return available blocks of time of the specified length? I want to find the 1st available block of that length or longer. If the user chooses to use that block, I will let them create an appointment, If not, I want to go to the next available block, etc. I haven't done any programming related to Calendar, so don't know where to begin. A point in the right direction will be greatly appreciated. -- Will |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how do I set time periods in calendar for 20 minute blocks | HelpWithCalendarTimeBlocks | Outlook - Calandaring | 1 | September 8th 08 04:12 PM |
How do I find out the automatic line wrap length? | puntium | Outlook - Installation | 1 | December 10th 07 05:11 PM |
Can I color code blocks of time? | wvjoe | Outlook - Calandaring | 2 | September 10th 07 08:40 PM |
How do you remove the time blocks on the calendar? | Janelle Lister | Outlook - Calandaring | 1 | July 21st 06 08:47 PM |
Outlook Calendar should change view to time blocks w/o changing zo | Chiquita Banana | Outlook - Calandaring | 0 | February 12th 06 06:15 PM |