SetTimer(Interval As Integer) As Integer

Application object

This method allows you to set a timer, which causes the AppTimer event to occur at the specified interval. The interval is specified in seconds. If the interval is zero, the timer is disabled.

The Application object