Open winform window when widows service start RRS feed

  • Question

  • I want to display a winform window(not exe) when the windows service starts.

    i am new to windows services, just implemented simple service to open a winform window at service start, but it displays the interactive Services Detection window .If i click view the message then display my winfrom window but does not show Windows desktop screen.

    How i can solve and view the winform single window(display). can you tell me how can i achieve this post me any good example so that i will get some idea to do it.

    Thread th = new Thread(new ThreadStart(MethodName));
    //i 've written these two lines in Onstart().
    private void MethodName()
                Form12 form = new Form12();

    Monday, May 13, 2013 11:16 AM