I'm reading excel file usgin COM object. but after runng code EXCEL.exe remains in process queqe. So I'm using
System.Diagnostics. Process[] excelProcesses = System.Diagnostics.Process.GetProcessesByName("EXCEL");
foreach(System.Diagnostics.Process p in excelProcesses)
{
p.Kill();
} to kill EXCEL.exe process Is this ok to use.
If no then why shold not?