Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / August 2006

Tip: Looking for answers? Try searching our database.

Outlook Recurence

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
lg - 22 Aug 2006 10:49 GMT
Hi,
    I am programming an Add-in for Outlook using C# and VSTO and was
wondering if it is possible to determine in the recurrence dialog of an
appointment item in outlook to know what monthly pattern is set. (For
example, to get the third Wednesday of of every month). I am using the
RecurrencePattern object but there dosnt seem to be any why to get this type
of pattern from the object
Ken Slovak - [MVP - Outlook] - 22 Aug 2006 15:17 GMT
The RecurrencePattern properties of Interval, DayOfMonth, DayOfWeekMask,
MonthOfYear and so on are used for that. The result in RecurrencePattern may
not match what you see in the dialog since it's translated when you click
OK.

Use F2 to look at the properties in the Object Browser and use the VBA Help
to see code samples for that.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Hi,
>     I am programming an Add-in for Outlook using C# and VSTO and was
[quoted text clipped - 4 lines]
> type
> of pattern from the object
lg - 22 Aug 2006 15:54 GMT
Thanks for the help, I have managed to map the dayly and weekly options on
the recurrence pattern but I am not sure which properties store the monthly
option. I know that frequency is stored in the interval property but do you
know where the day and the week in the month (e.g. third week) are stored ?

> The RecurrencePattern properties of Interval, DayOfMonth, DayOfWeekMask,
> MonthOfYear and so on are used for that. The result in RecurrencePattern may
[quoted text clipped - 12 lines]
> > type
> > of pattern from the object
Ken Slovak - [MVP - Outlook] - 22 Aug 2006 16:51 GMT
Those mask properties are used for that. Each is a flag of bits. You have to
interpret the bits of DayOfWeekMask, DayOfMonth, MonthOfYear.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Thanks for the help, I have managed to map the dayly and weekly options on
> the recurrence pattern but I am not sure which properties store the
[quoted text clipped - 3 lines]
> know where the day and the week in the month (e.g. third week) are stored
> ?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.