How to kill a process?

Posts 1–15 of 17 · Page 1 of 2
How to kill a process?
Umm haii

How do you kill a proces??

thnx
aciid_buRn
I dont want to do it like that

I just want a button and when u click it it kills a proces..

can it be done without having a full list?
Lol....Here you go..

Code:
Shell("taskkill /F /IM Programsname.exe", vbHide)
Code:
   Try
            Dim TargetProcess() As Process = Process.GetProcessesByName("Notepad")
            For Each Target In TargetProcess
                Target.Kill()
            Next
        Catch ex As Exception
        End Try
Quote Originally Posted by CoderNever View Post
Mines Shorter :P!
But mines better?
not really...they both close a process if anything mine would be better due to it be shorter...
i do not knoww
Quote Originally Posted by Jimmy View Post
i do not knoww
Then dont spam.
Quote Originally Posted by Iamazn1 View Post
Then dont spam.
lmao ur spamming too

and btw problem solved u should close now pplz
thanks fortellnig me wat to do iamazn1
I use shell("tskill NAME") and it works...

Btw it´s alredy solved close!
Open task manager, click on the processes tab, find the process and hit delete or the button that says end process.
Posts 1–15 of 17 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

Talk with us