Howto: Programmatically create a Windows Service that can interact w/the Desktop?

S

Shmulik

I have a windows service written in C#, that watching a message queue for a
file to appear. When the file appears I need to spawn a DOS process that
processes the file. This all works fine once I set the Windows Service
property to "Allow to interact with the desktop".

I was wondering if it is possible to enable this through the service
installer or other automatic means - to avoid the situation of someone
forgetting to enable this flag after installation?

TIA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top