Aug 24, 2011 03:46 AM
(This post was last modified: Sep 21, 2011 06:38 AM by FileX.)
I was bored and I looked on HF and I didn't see a tutorial for the beginners on this so here it is.
You need:
- a listbox
- 2 buttons
You put them like this: [img]http://i.min.us/ibZBEE1Ut.png[/img]
First we have to make a function to get the processes:
[img]http://i.min.us/ie8MqTTKa.png[/img]
Then we have to make a function to kill the processes:
[img]http://i.min.us/idTNS9lMt.png[/img]
Now we put in button1_click GetProcesses() to show the processes in the listbox.
In button2_click we put KillProcess() to kill the selected process.
Finally it will look like this:
[img]http://i.min.us/idA64fRza.png[/img]
You need:
- a listbox
- 2 buttons
You put them like this: [img]http://i.min.us/ibZBEE1Ut.png[/img]
First we have to make a function to get the processes:
[img]http://i.min.us/ie8MqTTKa.png[/img]
Then we have to make a function to kill the processes:
[img]http://i.min.us/idTNS9lMt.png[/img]
Now we put in button1_click GetProcesses() to show the processes in the listbox.
In button2_click we put KillProcess() to kill the selected process.
Finally it will look like this:
[img]http://i.min.us/idA64fRza.png[/img]
![[Image: DIZMPqM.png]](https://i.imgur.com/DIZMPqM.png)


