Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim a As Process
For Each a In Process.getProcess()
ComboBox1.Items.Add(a.Processname)
ListView1.Items.Add(a.Processname)
ListBox1.Items.Add(a.Processname)
Next
End Sub
End Class
특정 프로세스 죽이기
Private Sub ListBox1_Click(sender As Object, e As System.EventArgs) Handles ListBox1.Click
Dim BB As Process() = Process.GetProcessesByName(ListBox1.SelectedItem)
For Each Process As Process In BB
Process.Kill()
Next
End Sub
이 댓글을