A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

programatically determine which calendar occurences fall in time r



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 22nd 08, 06:38 PM posted to microsoft.public.outlook.program_vba
Bert_Bert[_2_]
external usenet poster
 
Posts: 32
Default programatically determine which calendar occurences fall in time r

Hi,
it there any way e.g. using redemption.dll or mapi or Outlook object model,
to find out which instances fall in .

I would like to make non-default calendar and to programatically check e.g.
all the occurences that fall in today 8:00 to 15:00.

I mean there will be recurring events with exceptions and it would have to
determine it the same way calendar does when it renders its appearance.

I know how to filter based on Restrictions and based on dasl names in
redemption, but is this somehow related ? Filtering is something "more
stupid" and does not concerd recurrence patterns. I do not want to check it
manually if not necessary - rather not re-invent the wheel :-)

thank you
Ads
  #2  
Old August 22nd 08, 08:51 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default programatically determine which calendar occurences fall in time r

All the recurrences will be in the recurrence pattern or exceptions
collection on the master appointment, so filtering isn't what needs to be
done. Unfortunately, no matter what API you use, you still have to get the
recurrence pattern and figure out each occurrence and get it using the
GetOccurrence() method of the RecurrencePattern object. After getting each
one you would figure out if it sits within your specified window.


--
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


"Bert_Bert" wrote in message
...
Hi,
it there any way e.g. using redemption.dll or mapi or Outlook object
model,
to find out which instances fall in .

I would like to make non-default calendar and to programatically check
e.g.
all the occurences that fall in today 8:00 to 15:00.

I mean there will be recurring events with exceptions and it would have to
determine it the same way calendar does when it renders its appearance.

I know how to filter based on Restrictions and based on dasl names in
redemption, but is this somehow related ? Filtering is something "more
stupid" and does not concerd recurrence patterns. I do not want to check
it
manually if not necessary - rather not re-invent the wheel :-)

thank you


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Determine where the user clicked on the calendar morna Add-ins for Outlook 0 April 4th 08 08:08 PM
Determine where the user clicked on the calendar morna Outlook - Calandaring 1 April 4th 08 07:20 PM
How can i set the follow up reminder time programatically? Levarish Outlook and VBA 1 November 26th 07 07:47 AM
How can i determine the current date of the calendar folder? [email protected] Outlook - Using Forms 0 September 26th 06 03:20 PM
Outlook should allow for fifth Sat. etc, occurences. Mike Fretz Outlook - Calandaring 0 February 23rd 06 08:20 PM


All times are GMT +1. The time now is 08:39 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.