B
Billy Cormic
Hello,
I have successfully created a windows service. I would now like
the windows service to call another program and start it when the
service starts. I have been unable to do this. For the windows
service OnStart sub I have the following code:
Protected Overrides Sub OnStart(ByVal args() As String)
EventLog1.WriteEntry("In OnStart")
Process.Start("Explorer.exe")
End Sub
However this code does not start the windows explorer. Does anyone
know what I am doing wrong?
Thanks,
Billy
I have successfully created a windows service. I would now like
the windows service to call another program and start it when the
service starts. I have been unable to do this. For the windows
service OnStart sub I have the following code:
Protected Overrides Sub OnStart(ByVal args() As String)
EventLog1.WriteEntry("In OnStart")
Process.Start("Explorer.exe")
End Sub
However this code does not start the windows explorer. Does anyone
know what I am doing wrong?
Thanks,
Billy