Imports AutoUpdaterDotNET
Public Class Class1
Private WithEvents xTimer As New System.Windows.Forms.Timer
Public Sub New(TickValue As Integer)
xTimer = New System.Windows.Forms.Timer
xTimer.Interval = TickValue
End Sub
Public Sub StartTimer()
xTimer.Start()
End Sub
Public Sub StopTimer()
xTimer.Stop()
End Sub
Private Sub Timer_Tick() Handles xTimer.Tick
SampleProcedure()
End Sub
Private Sub SampleProcedure()
AutoUpdater.Start("webpage")
End Sub
End Class
In Form Panel:
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
Dim xSub As New Class1(60000) ' 1000 ms = 1 sec so 60000 ms = 1 min
xSub.StartTimer
End Sub
Works for me :)