I am trying to kill a process by using the following code
Dim aprocess As System.Diagnostics.Process
aprocess = System.Diagnostics.Process.GetProcessesByName("E:\\preview.mp3")
aprocess.Kill()
however i am getting an error
Value of type '1-dimensional array of System.Diagnostics.Process' cannot be converted to 'System.Diagnostics.Process'.