I have a windows service that uses some third party application. That application is built from a single window for login, after the login the process is running in the background and not bother anyone.
I have code that opens this application (using Process class), fills all the necessary fields and hit the connect button. This code works perfectly when I using it from a command line or win form, however executing this code from the windows service do nothing – not errors and no exe is running!
I know that this sounds a bit strange and windows service should be UI free by design but I need to lunch this app before my service can start to work and I don’t want to make this operation by two steps - lunching the external all and the starting the service.
I tried to check the "allow service to interact with desktop" from the logon tab in service properties but this did nothing.
Any suggestions how to make this work, or perhaps other design for this problem that get me to manage to do the operation in single step.
Thanks.