Programmatically Starting/Stopping Apps
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Programmatically Starting/Stopping Apps

  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.
    Share on Google+

  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
    Share on Google+

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

    Re: Programmatically Starting/Stopping Apps

    < Split into its own thread>
    -----------------------------------------------
    Brad! Jones, CodeGuru.com Site Director
    Developer.com Network Director / EiC

    webmaster@codeguru.com
    (My Latest Book)


    -----------------------------------------------
    Share on Google+

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center