Results 1 to 4 of 4
  1. #1
    speedforyou's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    735
    Reputation
    -59
    Thanks
    108
    My Mood
    Happy

    Killing A Process

    Code:
        
    PrivateSub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
    
    
            
    ForEach P AsProcessIn System.Diagnostics.Process.GetProcessesByName("Engine.exe")
            P.Kill()
     
    Next
    Me.Close()
    
    EndSub
    this should work... but it doesnt.

    steel o-o's sig =
    = Done , = Not Done

    Leecher 0 =
    Newbie 25 =
    Member 50 =
    Advanced Member 100 =
    H4X0R Member 150 =
    Dual-Keyboard Member 250 =
    Expert Member 500 =
    's Trainer 750 =
    MPGH Expert 1000 =
    Synthetic Hacker 1250 =
    Blackhat Hacker 1500 =
    Whitehat Hacker 2000 =
    's Guardian 2500 =
    Upcoming MPGHiean 3000 =
    MPGH Addict 3500 =
    MPGHiean 4000 =
    MPGH Knight 4500 =
    MPGH Lord 5000 =
    MPGH Champion 5500 =
    MPGH King 6000 =
    MPGH Legend 6500 =
    MPGH God 7000 =
    MPGH God II 7500 =
    MPGH God III 8000 =
    MPGH God IV 8500 =
    MPGH God V 9000 =
    Arun's Slave 9500 =
    Dave's Slave 10000 =

  2. #2
    Domconz's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    0
    What process are you trying to kill?

  3. #3
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by Domconz View Post
    What process are you trying to kill?
    Are you blind? Engine.

    @speedforyou Take the ".exe" off the end of Engine.
    Code:
    Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
        For Each P AsProcessIn System.Diagnostics.Process.GetProcessesByName("Engine")
            p.Kill()
        Next
        Application.Exit()
    End Sub

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  4. #4
    speedforyou's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    735
    Reputation
    -59
    Thanks
    108
    My Mood
    Happy
    Quote Originally Posted by Jason View Post


    Are you blind? Engine.

    @speedforyou Take the ".exe" off the end of Engine.
    Code:
    Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
        For Each P AsProcessIn System.Diagnostics.Process.GetProcessesByName("Engine")
            p.Kill()
        Next
        Application.Exit()
    End Sub
    as ive allready tryed it without the .exe.... and it didnt work


    ---------- Post added at 06:23 AM ---------- Previous post was at 06:13 AM ----------

    /req closed solved

    steel o-o's sig =
    = Done , = Not Done

    Leecher 0 =
    Newbie 25 =
    Member 50 =
    Advanced Member 100 =
    H4X0R Member 150 =
    Dual-Keyboard Member 250 =
    Expert Member 500 =
    's Trainer 750 =
    MPGH Expert 1000 =
    Synthetic Hacker 1250 =
    Blackhat Hacker 1500 =
    Whitehat Hacker 2000 =
    's Guardian 2500 =
    Upcoming MPGHiean 3000 =
    MPGH Addict 3500 =
    MPGHiean 4000 =
    MPGH Knight 4500 =
    MPGH Lord 5000 =
    MPGH Champion 5500 =
    MPGH King 6000 =
    MPGH Legend 6500 =
    MPGH God 7000 =
    MPGH God II 7500 =
    MPGH God III 8000 =
    MPGH God IV 8500 =
    MPGH God V 9000 =
    Arun's Slave 9500 =
    Dave's Slave 10000 =

Similar Threads

  1. [Help] Killing a process going over memory usage
    By VernK in forum Visual Basic Programming
    Replies: 3
    Last Post: 08-14-2011, 12:41 AM
  2. [Help] Killing a process
    By Lyoto Machida in forum Visual Basic Programming
    Replies: 14
    Last Post: 03-10-2011, 09:13 PM
  3. How to kill a process?
    By ac1d_buRn in forum Visual Basic Programming
    Replies: 16
    Last Post: 11-27-2009, 08:20 AM
  4. [TUT] Get running processes and kill them ~~
    By Zoom in forum Visual Basic Programming
    Replies: 2
    Last Post: 11-09-2009, 08:34 AM
  5. Can't kill Avira Processes?
    By Th3KaNgSt3R in forum Suggestions, Requests & General Help
    Replies: 2
    Last Post: 09-17-2009, 06:42 PM