Tuesday, October 4, 2011

Making a basic Task Manager - C# and VB.NET

I have made a video in C# on how to make a taskmanager and a normal tutorial in VB.NET.

C#




The video is best watch in full screen and HD.

The second in a series of tutorials in Visual Studio 2010 in the C# programming language.

In this tutorial I will show you how to make a basic Task Manager.

If you have anything you need to learn with C# head to http://coding-central.net and you will get help or I will make a video of me doing it.






VB.NET 


You need:
- a listbox
- 2 buttons

You put them like this: 



First we have to make a function to get the processes:



Then we have to make a function to kill the processes:



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:






0 comments:

Post a Comment

 
Design by Free WordPress Themes | Blogger Theme by Lasantha - Premium Blogger Templates