Events_OnTime | Nirvana Systems Inc.

Events_OnTime

Events_OnTime

This will insert the correct method signature needed to hook or trap the event fired from an OmniPilot defined OnTime event.  Double clicking this item will insert the following code.

Sub MyOnTime()
    ‘ statements
End Sub

You can change the method name (MyOnTime) to anything you like. To actually establish the hook you need to call OmniPilot.OnTime(, AddressOf ).

Example
Sub OnStartup
     StartOT
     OmniPilot.OnTime(#6:00 PM#, AddressOf RunToDoList)
End Sub

Private Sub RunToDoList()
     ToDoList.Run()
End Sub

Also See
OmniPilot.OnTime

>