Page 1 of 3 123 LastLast
Results 1 to 15 of 33
  1. #1
    Bombsaway707's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Gym
    Posts
    8,799
    Reputation
    791
    Thanks
    4,004
    My Mood
    Amused

    [TUT]How to make a Task Manager

    First add A status strip, then add a Toolstripstatuslabel1 and for its text put "processes: 0"
    Then add a list view. Under the listview properties go to view then select details.
    Then under listview properties go to Gridlines and select true
    Now go to columns and add 5 columns they should look like this in this order

    After thats done double click the form and put:
    Code:
    Dim Process As New Process()
    Dim Count As Integer = 0
    ListView1.Items.Clear()
    For Each Process In Process.GetProcesses(My.Computer.Name)
    On Error Resume Next
    ListView1.Items.Add(Process.ProcessName)
    ListView1.Items(Count).SubItems.Add(FormatNumber(Math.Round(Process.PrivateMemorySize64 / 1024), 0))
    ListView1.Items(Count).SubItems.Add(Process.Responding)
    ListView1.Items(Count).SubItems.Add(Process.StartTime.ToString.Trim)
    ListView1.Items(Count).SubItems.Add(Proces*****)
    Count += 1
    Next
    ToolStripStatusLabel1.Text = "Processes: " & ListView1.Items.Count
    After that is done add in a button. Double click the button and put:
    Code:
    For Each Process As ListViewItem In ListView1.SelectedItems
    System.Diagnostics.Process.GetProcessById(Process.SubItems(4).Text).Kill()
    Next
    Form1_Load(Nothing, Nothing)
    ^make the button text "Kill Process"^
    Now add a timer and under the timer put:
    Code:
    Form1_Load(Nothing, Nothing)
    Now debug and it should work, if you need more help PM me.
    My Final Result(I added some stuff but its still basically the same):

    Thanks me if i helped
    Last edited by Bombsaway707; 11-24-2009 at 04:53 PM.

  2. The Following 8 Users Say Thank You to Bombsaway707 For This Useful Post:

    deathninjak0 (11-25-2009),hopefordope (02-03-2010),L3G0 (11-28-2009),mnpeep (11-25-2009),Pixie (11-24-2009),Pixipixel_ (11-25-2009),shnarg (04-09-2010),Zoom (11-25-2009)

  3. #2
    CoderNever's Avatar
    Join Date
    Feb 2009
    Gender
    female
    Location
    https://mpgh.net MPGHCash: $700,458,011
    Posts
    1,198
    Reputation
    131
    Thanks
    2,236
    My Mood
    Buzzed
    I'm going to try this now..I was trying to code something like this my self..if it works very sweet.

  4. #3
    Bombsaway707's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Gym
    Posts
    8,799
    Reputation
    791
    Thanks
    4,004
    My Mood
    Amused
    Quote Originally Posted by Coder Never View Post
    I'm going to try this now..I was trying to code something like this my self..if it works very sweet.
    thanks, it should work no problem if it doesnt then PM meh and ill help as much as i can

  5. #4
    Pixie's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Pixie wird wieder steigen.
    Posts
    1,884
    Reputation
    22
    Thanks
    229
    My Mood
    Fine
    I've been looking every where for a task manager like this,
    thanks

  6. #5
    Bombsaway707's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Gym
    Posts
    8,799
    Reputation
    791
    Thanks
    4,004
    My Mood
    Amused
    Quote Originally Posted by PixieCorp View Post
    I've been looking every where for a task manager like this,
    thanks
    no problem glad to help

  7. #6
    CoderNever's Avatar
    Join Date
    Feb 2009
    Gender
    female
    Location
    https://mpgh.net MPGHCash: $700,458,011
    Posts
    1,198
    Reputation
    131
    Thanks
    2,236
    My Mood
    Buzzed
    I think there is a flaw in your code

    Code:
    Form atNumber
    Located in...

    Code:
    ListView1.Items(Count).SubItems.Add(Form atNumber(Math.Round(Process.PrivateMemorySize64 / 1024), 0))ListView1.Items(Count).SubItems.Add(Process.Responding)
    and...

    Code:
    ListView1.Items(Count).SubItems.Add(Form atNumber(Math.Round(Process.PrivateMemorySize64 / 1024), 0))ListView1.Items(Count).SubItems.Add(Process.Responding)
    is two different lines it should be...

    Code:
    ListView1.Items(Count).SubItems.Add(Form atNumber(Math.Round(Process.PrivateMemorySize64 / 1024), 0))
    ListView1.Items(Count).SubItems.Add(Process.Responding)

  8. #7
    Bombsaway707's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Gym
    Posts
    8,799
    Reputation
    791
    Thanks
    4,004
    My Mood
    Amused
    Quote Originally Posted by Coder Never View Post
    I think there is a flaw in your code

    Code:
    Form atNumber
    Located in...

    Code:
    ListView1.Items(Count).SubItems.Add(Form atNumber(Math.Round(Process.PrivateMemorySize64 / 1024), 0))ListView1.Items(Count).SubItems.Add(Process.Responding)
    and...

    Code:
    ListView1.Items(Count).SubItems.Add(Form atNumber(Math.Round(Process.PrivateMemorySize64 / 1024), 0))ListView1.Items(Count).SubItems.Add(Process.Responding)
    is two different lines it should be...

    Code:
    ListView1.Items(Count).SubItems.Add(Form atNumber(Math.Round(Process.PrivateMemorySize64 / 1024), 0))
    ListView1.Items(Count).SubItems.Add(Process.Responding)
    yes those were flaws, sometimes when i copy and paste random spaces get added to my code -_- soz about that but i fixed it now

  9. #8
    No5cope's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    1,902
    Reputation
    26
    Thanks
    678
    My Mood
    Aggressive
    is there a way to put in check boxes, and have a button that will kill the "ticked" processes?

  10. #9
    mnpeep's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    220
    Reputation
    12
    Thanks
    10
    My Mood
    Amazed

    THANK YOU

    THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    I've been looking for things to add in my multitool and THIS IS AWESOME!!! i expect it to be in 1.5 (one tool at a time )

  11. #10
    Bombsaway707's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Gym
    Posts
    8,799
    Reputation
    791
    Thanks
    4,004
    My Mood
    Amused
    Quote Originally Posted by mnpeep View Post
    THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    I've been looking for things to add in my multitool and THIS IS AWESOME!!! i expect it to be in 1.5 (one tool at a time )
    lol no probelm *cough*thanks?*cough*

  12. #11
    Iamazn1's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    407
    Reputation
    12
    Thanks
    50
    Quote Originally Posted by bombsaway707 View Post
    yes those were flaws, sometimes when i copy and paste random spaces get added to my code -_- soz about that but i fixed it now
    So Im guessing this was leeched?

  13. #12
    Pixipixel_'s Avatar
    Join Date
    Oct 2009
    Gender
    male
    Location
    VCExpress.exe || France :D
    Posts
    2,087
    Reputation
    27
    Thanks
    742
    My Mood
    Cool
    Good job mate.

  14. #13
    Bombsaway707's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Gym
    Posts
    8,799
    Reputation
    791
    Thanks
    4,004
    My Mood
    Amused
    Quote Originally Posted by Iamazn1 View Post
    So Im guessing this was leeched?
    no, when i copy and paste from VB random spaces get added to my code sometimes when its really long
    Quote Originally Posted by Pixipixel_ View Post
    Good job mate.
    thank you

  15. #14
    LegendaryAbbo's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    5,243
    Reputation
    23
    Thanks
    546
    My Mood
    Relaxed
    Don't be lazy, make it auto refresh.

  16. #15
    Bombsaway707's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Gym
    Posts
    8,799
    Reputation
    791
    Thanks
    4,004
    My Mood
    Amused
    Quote Originally Posted by legendaryhack View Post
    Don't be lazy, make it auto refresh.
    it is auto refresh in my release in the CA section, but its a really complicated code and i was busy yesterday so i didnt get to post it. Ill post it when i get back from school

Page 1 of 3 123 LastLast

Similar Threads

  1. [Tut]How to Make KoWarrock Account Easy
    By EyalZamir in forum WarRock Korea Hacks
    Replies: 181
    Last Post: 06-08-2008, 12:05 PM
  2. (TUT)how to make your own warrock menu
    By aprill27 in forum WarRock - International Hacks
    Replies: 0
    Last Post: 09-21-2007, 03:46 PM
  3. [TuT] How to make PW and value box for Guns/Superjump/SkyStormer(VB6)
    By jokuvaan11 in forum WarRock - International Hacks
    Replies: 14
    Last Post: 06-30-2007, 01:09 PM
  4. [Request]Tut how to make his own bypass
    By BurakG in forum WarRock - International Hacks
    Replies: 3
    Last Post: 05-08-2007, 02:46 PM
  5. Tut: how to make cheese
    By ace76543 in forum General
    Replies: 14
    Last Post: 01-14-2007, 09:39 AM

Tags for this Thread