Prueba asi
Código [Seleccionar]
Private Sub Command1_Click()
Dim proceso As String
proceso = Text1.Text
For Each process In GetObject("winmgmts:"). _
ExecQuery("select * from Win32_Process where name='" & proceso & "'")
process.Terminate (0)
Next process
Text1.Text = vbNullString
End Sub