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

    Exclamation Programmatically Starting/Stopping Apps

    I am very interested in being able to start and stop applications programatically.

    Was curious whether it will be more difficult to do this in upcoming releases of Windows 7 and in future releases of the Microsoft OS.

  2. #2
    Join Date
    Jun 2010
    Posts
    9

    Re: Welcome to the Microsoft Experts!

    Joex,

    This is pretty easy, you can just invoke Process.Start and feed it the executable you want. E.g.

    System.Diagnostics.Process.Start("CMD.exe IExplore.exe");

    There are no changes (that I'm aware of) to how this would work in Windows 7.

    But if you have more questions about this please start a new thread since it's off topic for this one.

    Brian

  3. #3
    Join Date
    Sep 2000
    Location
    Indianapolis
    Posts
    6,754

    Re: Programmatically Starting/Stopping Apps

    < Split into its own thread>
    -----------------------------------------------
    Brad! Jones,
    Yowza Publishing
    LotsOfSoftware, LLC

    -----------------------------------------------

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