Visual Basic.NET - Simple Task Manager. Just a simple tutorial on how to make a program that shows all processes and allows you to end then. Thanks to AeonHack for help.
Codes:
Form1_Load
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(Process.Id)
Count += 1
Next
ToolStripStatusLabel1.Text = "Processes: " & ListView1.Items.Count
End Process:
For Each Process As ListViewItem In ListView1.SelectedItems
System.Diagnostics.Process.GetProcessById(Process.SubItems(4).Text).Kill()
Next
Form1_Load(Nothing, Nothing)
Timer1_Tick
Form1_Load(Nothing, Nothing)
Ty God for the Mute
MrAsdf4210 2 weeks ago
turtle song..
legobobsleder 1 month ago
moi j'y arrive pas
Erreur 1 'Form1_Load' n'est pas déclaré. Il peut être inaccessible en raison de son niveau de protection.
I can not do it myself
Error 1 'Form1_Load' is not declared. It may be inaccessible due to its protection level.
mantogum 2 months ago
What do you use to record your video's?
markusleogrande 2 months ago in playlist Uploaded videos
@SuperSoftware1234 The code tells you Process.PrivateMemor-ySize64 if you straight copy/paste from YouTube, you have to delete the "-"
~ Surfshark Software Education
surfsharksoftware 3 months ago
Process.PrivateMemorySize64 <<< The code that is giving me some serious issues, someone please help.
SuperSoftware1234 4 months ago
@sam20237 Timers are bad use threads and do & loop
MrE3stw00d 5 months ago
The Process.PrivateMemor is because a pain in the ass to the error.
TheNeohax 6 months ago
i dunno why i cannot see the memory...
lordpacco3 6 months ago
just make the timer interval: 1000 or more... i hope
lordpacco3 6 months ago