I can't seem to close down Excel when I'm done with it. It remains in the task manager process.
Here is some code snippit:
Excel.Application oXL;
Excel._Workbook oWB;
oXL = new Excel.Application();
oWB = (Excel._Workbook)(oXL.Workbooks.Open(filePath.ToString(),missing,false,missing,missing,missing,missing,missing,missing,missing,missing,missing,missing));
oWB.Close(false,missing,missing);
oXL.Workbooks.Close();
oXL.Quit();
oWB = null;
oXL = null;
" ahhh computers, how they made our lives much simpler "
Here is some code snippit:
Excel.Application oXL;
Excel._Workbook oWB;
oXL = new Excel.Application();
oWB = (Excel._Workbook)(oXL.Workbooks.Open(filePath.ToString(),missing,false,missing,missing,missing,missing,missing,missing,missing,missing,missing,missing));
oWB.Close(false,missing,missing);
oXL.Workbooks.Close();
oXL.Quit();
oWB = null;
oXL = null;
" ahhh computers, how they made our lives much simpler "