window service

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?Vmlua2k=?=

    window service

    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
  • Marcel

    #2
    Re: window service

    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.

    "Vinki" <Vinki@discussi ons.microsoft.c omschreef in bericht
    news:D57951D7-674D-46A6-886D-CA79AA3F28D3@mi crosoft.com...
    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

    Comment

    Working...