CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2004
    Posts
    3

    How to Start Application from Windows Service

    Hello.

    I've got a problem. How to start Application within a Windows Service.
    I used Shell and System.Diagnostics.Process.Start methods to do it.
    As a result new process appear in Task Manager. But i need not a process
    but a standart windows application.

    If anybody could help me i'll be very thakned


    Nordo

  2. #2
    Join Date
    Oct 2001
    Location
    Melbourne, Australia
    Posts
    576

    Re: How to Start Application from Windows Service

    can you? a service doesn't need a console to run, but an application does, so I don't think you can do it. having said that, the simple thing to ask is if the form.visible is set to true...

  3. #3
    Join Date
    Nov 2004
    Posts
    30

    Re: How to Start Application from Windows Service

    every app you start is a process and will therefore be visible in the task manager. You cannot prevent an app from showing in the task manager

  4. #4
    Join Date
    Nov 2004
    Posts
    3

    Re: How to Start Application from Windows Service

    Hello.

    I solved this problem. The simplest way is to check box
    in Service managm,ent concsole "Allow service to interact with desktop"

  5. #5
    Join Date
    Aug 2005
    Posts
    1

    Exclamation Re: How to Start Application from Windows Service

    How to start Application within a Windows Service and set the process user name al the current user?

    Alex

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured