R
Richie
I want to close excel application from C#, this is the piece of code I
am trying
"System.Runtime.InteropServices.Marshal.ReleaseComObject(excelApp);"
GC.Collect();
It ain't working ! Any ideas please !!
Also tried excelApp.Quit();
This is fine, but on viewing "Task List" the application tab shows
"Excel.exe" running. And if I run the program again the message
"Administrator is using the file, file will open in readonly mode" shows.
Any ideas ?
am trying
"System.Runtime.InteropServices.Marshal.ReleaseComObject(excelApp);"
GC.Collect();
It ain't working ! Any ideas please !!
Also tried excelApp.Quit();
This is fine, but on viewing "Task List" the application tab shows
"Excel.exe" running. And if I run the program again the message
"Administrator is using the file, file will open in readonly mode" shows.
Any ideas ?