Executing Processes as a Windows Service

  • Thread starter Thread starter Jason
  • Start date Start date
J

Jason

I've tried executing processes under Visual Basic.NET-based Windows
services in the past but to no avail.

Is it possible to execute a process via System.Diagnostics in a
Windows Service? The user does not have to be able to interact with
the process, but let's say the (hidden) process does a file
conversion. I'd like to be able to execute such a process in a Windows
Servce.

Any suggestions will be greatly appreciated. Thanks in advance.

Jason
 
* (e-mail address removed) (Jason) scripsit:
Is it possible to execute a process via System.Diagnostics in a
Windows Service? The user does not have to be able to interact with
the process, but let's say the (hidden) process does a file
conversion. I'd like to be able to execute such a process in a Windows
Servce.

Take a look at the 'ServiceController' class.
 
Back
Top