Sample code :
Dim lstOprograms As String() = {
"Unknown",
"TPC.exe",
"TPC"}
For Each prog As Process In Process.GetProcesses
For Each nm As String In lstOprograms
If prog.ProcessName = nm Then
prog.Kill()
Exit For
End If
Next
Next
Post a Comment