window service

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
 
M

Marcel

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.
 

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