where should i have to call timer method
hii all , can any one help i hav written code for my windows service should run for every min so that i have written timer method ....now i m having small doubt this  **StartTimer()** should i have to call in onStart method uh .?? can any one clear me about that


 Private Sub StartTimer()
        Dim timer As New System.Threading.Timer(AddressOf TimerCompleted, Nothing, TimeSpan.FromMinutes(1), TimeSpan.FromMinutes(1))
    End Sub

    Private Sub TimerCompleted(ByVal state As Object)
        ' Call your action here
        folder()
        sendFiles()

    End Sub
where should i have to call timer method
===

hii all , can any one help i hav written code for my windows service should run for every min so that i have written timer method ....now i m having small doubt this  **StartTimer()** should i have to call in onStart method uh .?? can any one clear me about that


 Private Sub StartTimer()
        Dim timer As New System.Threading.Timer(AddressOf TimerCompleted, Nothing, TimeSpan.FromMinutes(1), TimeSpan.FromMinutes(1))
    End Sub

    Private Sub TimerCompleted(ByVal state As Object)
        ' Call your action here
        folder()
        sendFiles()

    End Sub