Results 1 to 4 of 4
  1. #1
    Sneaks's Avatar
    Join Date
    Nov 2008
    Gender
    male
    Posts
    73
    Reputation
    10
    Thanks
    12

    [C#] Ending and Starting Processes

    When you end a process, its actually quite easy.

    Code:
    System.Diagnostics.Process.End("FireFox.exe");
    That ends Firefox.exe


    Code:
    System.Diagnostics.Process.Start("Firefox.exe", "http://mpgh.net");
    That starts firefox, and brings up MPGH.net. Useful for advertising.

  2. #2
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,690
    Reputation
    184
    Thanks
    1,147
    My Mood
    Aggressive
    Wow? Your smart! No Duh...

  3. #3
    Sneaks's Avatar
    Join Date
    Nov 2008
    Gender
    male
    Posts
    73
    Reputation
    10
    Thanks
    12
    However kids like you probaly try Process.Start(), and dont know what the fuck DIagnostics mean. Now shut the hell up and learn C#

  4. #4
    myeviltacos's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0
    Don't be a jerk.

    Diagnostics is a namespace within System.dll, and Process is a class.

    Your top code won't work at all, unless you modified your .NET framework.
    Your bottom code won't work unless your FF executable is in the same folder or in one of the PATH locations.

Similar Threads

  1. Replies: 1
    Last Post: 08-28-2010, 09:47 PM
  2. [HELP]Start Process/program in Resources
    By [Project Recon]Porhaxn in forum Visual Basic Programming
    Replies: 9
    Last Post: 06-20-2010, 11:10 AM
  3. Reseting all stats and starting from rank 1
    By nate68 in forum Call of Duty Modern Warfare 2 Help
    Replies: 4
    Last Post: 12-05-2009, 06:51 AM
  4. [TUTORIAL]HOW TO GET ASHWOOPS BYPASS WORKING AND START HACKING LIKE A CHOOB
    By beteasta3 in forum Combat Arms Hacks & Cheats
    Replies: 25
    Last Post: 07-13-2009, 04:06 PM
  5. Replies: 1
    Last Post: 07-10-2009, 11:56 PM