Run an Application from Windows services

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My requirements are,
1) To run a windows application (Which allows user to interact with that)
inside a windows service. For that how do i set the service type to
InteractiveMode by programatically ?
2) The application to be started my change in feature, so that I need to get
that application .exe file from the Configuration file. But when try to do
this the ConfigurationError occurs, Is there any other way in services to
change the filename at runtime without altering the code.

Thanks in advance...
Dhans
 
Dhans said:
My requirements are,
1) To run a windows application (Which allows user to interact with that)
inside a windows service. For that how do i set the service type to
InteractiveMode by programatically ?
2) The application to be started my change in feature, so that I need to
get
that application .exe file from the Configuration file. But when try to do
this the ConfigurationError occurs, Is there any other way in services to
change the filename at runtime without altering the code.

Thanks in advance...
Dhans

According your requirements, you should not implement this as a Windows
Service, Services are meant to run in the background, even when no
interactive user is currently logged on, they should not interact with the
desktop, this option was introduced when Windows NT 3.1 was released to help
you out with debugging, but now you have much better debugging facilities.

Willy.
 

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

Back
Top