I wrote a service to start a time and check for a serial port. It was installed via InstallUtil and can be seen, started and stopped in services.
Once started, I turn to the IDE with the code and under Debug, attach the service. This puts the IDE in debug mode.
Unfortunately, the first lines of code (as follows) never seems to be triggered.
I put break points in the code, on the timer and the sub triggered by the timer, but none ever seem to be triggered.Code:Protected Sub OnStart(ByVal args() As String) Timer1.Enabled = True 'Findport() End Sub
Any ideas guys? What am I missing?




Reply With Quote
