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

Accessing events

 Post Reply Post Reply
Author
Message
andyw View Drop Down
Newbie
Newbie


Joined: 11 May 2009
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote andyw Quote  Post ReplyReply Direct Link To This Post Topic: Accessing events
    Posted: 11 May 2009 at 6:23am
Hi,
 
I've developed a small app for a customer who upon start up of the app wants a message box alerting the user that there are events/appointments for the current day.
 
So, i'm using the xml file data source approach, and need to know for example ,given todays date how i access or check for events for today. Then i can pop up a simple message telling the user they have appointments for today etc.
 
Regards
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 11 May 2009 at 9:04am
    Dim dayEvents As CalendarEvents
    Dim cDay As CalendarEvent
    Set dayEvents = CalendarControl.DataProvider.RetrieveDayEvents(DateTime.Date)
    
    For Each cDay In dayEvents
        Debug.Print cDay.Subject
    Next cDay
Back to Top
andyw View Drop Down
Newbie
Newbie


Joined: 11 May 2009
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote andyw Quote  Post ReplyReply Direct Link To This Post Posted: 12 May 2009 at 9:03am
Brill. Thanks
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.188 seconds.