View Single Post
  #3  
Old October 21st 09, 03:12 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default i ditect birthday appointments from calendar appointments

Appointments created from birthdays or anniversaries are no different than
any other recurring all day appointments. First check to see if the
appointment is an all day appointment, since all birthdays and anniversaries
are all day. Then check the Links collection and if there isn't a link then
it's probably not a birthday or anniversary (unless the user removed the
link that gets created). Then get the Link object, which is a contact, then
check that contact for settings for birthday and anniversary.

The settings in the Recurrence pattern must be interpreted to get what the
dialog shows. Look at the NoEndDate Boolean and the Occurrences Long to see
if the pattern has an end date and a specified number of occurrences. Also
look at PatternEndDate.

--
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:9dec6561556cd@uwe...
And one more question

when i am retriving recurring appointments from calender folder
how can i know thar reccurent pattern end mode i mean which radioa button
has
selected
if noenddate is false taht is ok.. how can v know which radio button has
selected(is it "end after"/ "end by")

pelase help me

--
Message posted via http://www.officekb.com


Ads