Posted on: 11/22/2013 11:46:04 PM | Views : 851

Trying to get this to work errors on dispatchTimer.Tick, dispatchTimer.Start() and TimeSpan
Public Event Tick(ByVal sender As Object, ByVal e As System.EventArgs) Sub StartTimer() Dim dispatchTimer As New Timer() RaiseEvent? dispatchTimer.Tick += New EventHandler(AddressOf dispatchTimer_Tick) dispatchTimer.Interval = New TimeSpan(0, 1, 0) 'fires every minute dispatchTimer.Start() End Sub Private Sub dispatchTimer_Tick(sender As Object, e As EventArgs) 'execute subroutine or function every minute End Sub

Go to the complete details ...