View Single Post
  #4  
Old October 15th 09, 06:49 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Creating yearly recurrence appointment

Are you setting the recurrence type to recurs weekly first? Then you OR the
days you want into the mask you set. To make things easier to debug I derive
the OR'd value first and then set that result for the DayOfWeekMask
property.

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


"hemaneelagiri via OfficeKB.com" u54138@uwe wrote in message
news:9da1a9f43840b@uwe...
and i want to create daily Evry weekday, how can v set every week day , if
v
give
Interval then it sets daily

how can we set "DayOfWeekMask"

when i set like this
recurrencePattern.DayOfWeekMask =
Microsoft.
Office.Interop.Outlook.OlDaysOfWeek.olMonday | Microsoft.Office.Interop.
Outlook.OlDaysOfWeek.olTuesday | Microsoft.Office.Interop.Outlook.
OlDaysOfWeek.olWednesday | Microsoft.Office.Interop.Outlook.OlDaysOfWeek.
olThursday | Microsoft.Office.Interop.Outlook.OlDaysOfWeek.olFr iday;


it is giving error
please help me

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200910/1


Ads