PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Form Programming Ways to find empty Slots in the Calendar

Reply

Ways to find empty Slots in the Calendar

 
Thread Tools Rate Thread
Old 13-06-2006, 08:11 AM   #1
Stefan Singer
Guest
 
Posts: n/a
Default Ways to find empty Slots in the Calendar


Is there a way to find empty time slots in an outlook calendar? I would
like to check whether any item is scheduled already at a current time.
Of course I can just check if any item of this folder is scheduled at
this time, but this becomes very slow if the folder has many items.
However, as the folder is just a MAPI-Folder, I can't find any methods
in the object browser which would offer such a functionality.

Does anyone know if such a functionality is offered somewhere?

Regards,
Stefan
  Reply With Quote
Old 19-07-2006, 10:43 PM   #2
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: Ways to find empty Slots in the Calendar

Use the MAPIFolder.Items.Find method; see http://www.outlookcode.com/d/finddate.htm

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Stefan Singer" <lala@macnews.de> wrote in message news:etlJyfrjGHA.836@TK2MSFTNGP02.phx.gbl...
> Is there a way to find empty time slots in an outlook calendar? I would
> like to check whether any item is scheduled already at a current time.
> Of course I can just check if any item of this folder is scheduled at
> this time, but this becomes very slow if the folder has many items.
> However, as the folder is just a MAPI-Folder, I can't find any methods
> in the object browser which would offer such a functionality.
>
> Does anyone know if such a functionality is offered somewhere?
>
> Regards,
> Stefan

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off