Ive been trying to write a windows service from the tutorial at "http://www.devarticles.com/c/a/VB.Net/Creating-A-Windows-Service-in-VB.NET/1/
", I can write the code, and build correctly, even install the service, however I cannot seem to get it to do anything!
The code from the tutorial I have simplified just to see if I can see it running (see if its a problem connecting to the event viewer) so the code I currently have is:-
Public Class Service1
Protected Overrides Sub OnStart(ByVal args() As String)
Timer1.Enabled = True
Protected Overrides Sub OnStop()
Timer1.Enabled = False
Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer1.Tick
But still doesnt work, does anyone have any suggestions?
I can see the service has been started in my services view!