![]() |
Accessing events |
Post Reply ![]() |
Author | |
andyw ![]() Newbie ![]() Joined: 11 May 2009 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
andyw ![]() Newbie ![]() Joined: 11 May 2009 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
Brill. Thanks
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |