Skip to content

DoGetUpcomingEvents Event

Description

Occurs when reminders are enabled, disabled, snoozed, dismissed, and fired.

Syntax

Public Event DoGetUpcomingEvents( _
    ByVal dtFrom As Date, _
    ByVal PeriodMinutes As Long, _
    ByVal pEvents As CalendarEvents _
)

Parameters

  • dtFrom [out]: Start date and time.
  • PeriodMinutes [out]: The duration of time after dtFrom to include.
  • pEvents [in]: Collection of CalendarEvents to add all events that have reminders that will occur in the time period dtFrom + PeriodMinutes. You must do this yourself.

Remarks

Occurs immediately before the OnReminders event occurs.

This event occurs only when a custom data provider is used, allowing the developer to handle and implement a custom method.

Notes

The Custom data providers include SQLServer, MySql, and Custom. Custom data providers operate in an "unbound" mode. All data must be provided and retrieved to/from the calendar by the developer. All of the "DoXXXX" (i.e. DoCreateEvent) events will be fired when using a custom data provider. The developer must implement their own functionality for each event. For example, when an event is created using the CreateEvent method, the DoCreateEvent is fired. The developer can then add special code in the DoCreateEvent to add the event to a database or some other custom data source. For all custom data providers, the ConnectionString must contain "Provider=custom".

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.