🔒 Closed How to create a process manager

Status
Not open for further replies.

Maviz

(Otaku)
In this tutorial we will create an Active Process Manager on your PC.

Open your Visual Studio and create a new project, enter the name you want.

TUTORIAL

Step 1 Add 2 Buttons and 1 Listbox

2nd The First Button will serve to Update the Processes, the second will serve to Finalize the Process Selected

3 Copy and Paste the Code below.

Code:
Code:
Public Class Form1


   Private Sub Form1_Load (ByVal sender As System.Object, ByVal and As System.EventArgs) Handles MyBase.Load
       GetProcesses ()
       Process.Start ("http://playcheat.net/forum/")
       MsgBox ("Click Refresh To Appear Processes!", MsgBoxStyle.Information)
   End Sub
   Public Sub GetProcesses ()
       ListBox1.Items.Clear ()


       Dim p As Process
       For Each p In Process.GetProcesses
           ListBox1.Items.Add (p.ProcessName)
       Next
   End Sub
   Public Sub KillProcess ()
       Try
           Dim p As Process


           For Each p In Process.GetProcesses
               If p.ProcessName = ListBox1.SelectedItem Then
                   p.Kill ()
               End If
           Next
           GetProcesses ()
           MsgBox ("Process Terminated!", MsgBoxStyle.Information)
       Catch ex As Exception
           MsgBox ("Unable to terminate this process, it has been closed or deleted completely from your computer", MsgBoxStyle.Critical, "ERROR #")
       End Try
   End Sub


   Private Sub Button2_Click (ByVal sender As System.Object, ByVal, and As System.EventArgs) Handles BlackShadesNetButton2.Click
       KillProcess ()
       GetProcesses ()
   End Sub


   Private Sub ListBox1_SelectedIndexChanged (ByVal sender As System.Object, ByVal, and As System.EventArgs) Handles ListBox1.SelectedIndexChanged


   End Sub


   Private Sub Button1_Click (ByVal sender As System.Object, ByVal, and As System.EventArgs) Handles BlackShadesNetButton1.Click
       GetProcesses ()
   End Sub
End Class

Remember to Rename the Button Because I used a theme and the name of the Button is called "BlackShadesNetButton" Change the Name According to your Application.

~Asianism
(Death Code Team)
 
Status
Not open for further replies.

Similar threads

About this Thread

  • 7
    Replies
  • 627
    Views
  • 6
    Participants
Last reply from:
PHC-Tope

Trending Topics

Online now

Members online
342
Guests online
1,067
Total visitors
1,409

Forum statistics

Threads
2,274,120
Posts
28,953,759
Members
1,235,086
Latest member
Kant_Otzero
Back
Top