Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Determine Event Recurrence
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Determine Event Recurrence

 Post Reply Post Reply
Author
Message
JasonG View Drop Down
Groupie
Groupie


Joined: 07 July 2008
Status: Offline
Points: 76
Post Options Post Options   Thanks (0) Thanks(0)   Quote JasonG Quote  Post ReplyReply Direct Link To This Post Topic: Determine Event Recurrence
    Posted: 24 July 2008 at 1:30pm
Once I add a new event, is there a simple property that can tell me if the event is set to be recurring or not?  Also, when an event is edited and recurrence is added or removed, how do I know?

RecurrenceState does not seem to be the property I need.



Product: Xtreme SuitePro (ActiveX) 12.0.1
Platform: Windows Vista/XP
Language: Visual Basic 6.0 SP6
Back to Top
mkhadem View Drop Down
Groupie
Groupie


Joined: 28 July 2008
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote mkhadem Quote  Post ReplyReply Direct Link To This Post Posted: 29 July 2008 at 4:01pm
Try this one:
 
If Not pEvent.RecurrencePattern Is Nothing Then
If pEvent.RecurrencePattern.Exceptions.Count > 0 Then
   For Each excEvent In pEvent.RecurrencePattern.Exceptions
      If excEvent.RExceptionDeleted Then
         ' Do your code here
      End If            
    Next
End If
Else
' You have no recurrence Pattern
End If
 
I hope it helps
Mo
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.154 seconds.