I ahve written a VB.Net service that had a Timers.Timer control with an interval of 120000 (2 minutes)
I then use the attatched code to run my procedure (importlead()) and restart the timer so it runs again in 2 minutes.
It runs through fine the 1st time but it never seems to call the import lead procedure after that.
Can anybody see what i am doing wrong?
Catch ex As Exception
sWriter.WriteLine("Error Description: " & Err.Description)
sWriter.WriteLine("Lead Check Finished at: " & Now.ToString)
Timer = New Timers.Timer
Timer.Interval = 120000