I am new to developing services and I am trying to develop a service that can print out labels from something called Codesoft.
I have added a reference to the Codesoft component/server.
I have tried to make at standard Windows forms application with Exactly the same code and it works, but as a service application I get an error like this: "Object reference not set to an instance of an object" I can see the Codesoft component is starting ( when I see Processes in task manager) when I start the service.
Can anyone explain where I put the declarations when it's a Windows Service project?
I am using Visual Studio 2008.