The code below is what I am using. I did get it to work but now I am trying to send a text message from the service. My thought process is basically that I need to copy the already working code in my activity to the service. Is this correct? And if so I am thinking would place that code under Sub Service start. Is that right?
Sub Process_Globals
Dim Timer1 As Timer
Timer1.Initialize("Timer1",1000)
end sub
Sub Button1_Click
Timer1.Enabled=True
StartService(TestService)
End Sub
Sub Timer1_Tick
Label1.Text=TestService.Counter
End Sub
Sub Process_Globals
Dim TimerService As Timer
Dim Counter As Int
Counter=0
End Sub
Sub Service_Create
TimerService.Initialize("TimerService",1000)
TimerService.Enabled=True
End Sub
Sub Service_Start
Counter=Counter+1
End Sub
...
...
Sub TimerService_Tick
StartServiceAt("", DateTime.Now, True)
End Sub