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

  • Thread starter Thread starter Shmulik
  • Start date Start date
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
 
Back
Top