Hack Forums
[.NET] [TUT] How to make a task manager - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] [TUT] How to make a task manager (/showthread.php?tid=1644813)



[TUT] How to make a task manager - FileX - Aug 24, 2011

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]



* - vulnerbler - Aug 24, 2011

nice , um sure begginers will like that .., easy for understand to them


* - Chunked - Aug 24, 2011

It would be useful to post the codes imo. :)


* - Gone-KaPPaH - Aug 24, 2011

Thanks bro this will really help me for future projects :D


* - FileX - Aug 24, 2011

(Aug 24, 2011 03:55 AM)๖ۣۜX Wrote:  It would be useful to post the codes imo. :)

If you type, you actually see the code, and don't just make GUI, c+p, done.
If you see the code, you study it and you learn ;)


* - iStrip - Aug 24, 2011

Wow triple post, on the other hand this will help me for my project. Thanks bro.


* - FileX - Aug 24, 2011

(Aug 24, 2011 04:11 AM)iStrip Wrote:  Wow triple post, on the other hand this will help me for my project. Thanks bro.

My apologies, Chrome was doing weird =/
I'm glad it helps you.


* - trueidol - Aug 24, 2011

Real nice and simple real easy how to make a task manager


* - Gone-KaPPaH - Aug 24, 2011

I would like to recommend having the code to get processes in form load alot easier


* - Vaxorr - Aug 18, 2013

good tut i maked mine with this tut :D


* - Qmz_ - Aug 18, 2013

(Aug 18, 2013 05:15 AM)nullserver Wrote:  good tut i maked mine with this tut :D

Also a nice gravedig, only few years. 🤝


* - DaChosenOne - Aug 18, 2013

Well its not bad but i know better ways.
/Msg2Short.


* - Scifen - Aug 22, 2013

Confusing, don't where to put put the codes and not explained well.

Tut rate: 2/10


* - Cornflower Blue இڿڰۣ-ڰۣ— - Aug 22, 2013

(Aug 22, 2013 07:20 PM)Scifen Wrote:  Confusing, don't where to put put the codes and not explained well.

Tut rate: 2/10

1) Grave-digging
2) Really dumb
3) GTFO and don't come back
4) Have a nice day :)