window service

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

Guest

Hello Everyone,

I have created a very simple window service. This window service in turn
is calling a function that exist in a windows form.
When I am trying to run this windows service. window service does not run
and start throwing error message.
Once I remove the windows form and put that same method in a class and call
that class from window service, It works. I was wondering is it possible to
run the window service that is calling a method in windows forms.

Thanks
 
As far as I know you cannot put screen interactions in a service, because
services are started before a user logs in. Applications that do want user
interaction with their service, usually create seperate applications that
can be started besides the service, interacting with it.
 
Back
Top