I can't seem to start a COM object using a windows service. I have added the proper reference. The code works in a Windows Application. This is an example of what I am trying to do:
Code:
Private Sub StartExcel()
   Dim XL1 As Excel.Application
   XL1 = CreateObject("Excel.Application")
End Sub

Protected Overrides Sub OnStart(ByVal args() As String)
   StartExcel()
End Sub
I am actually going to call the StartExcel sub using a timer checking the time of day. But I would like to get the CreateObject working first.
Thanks
Rel