W
Wesley
Hi, I'm creating a report in Excel using asp.net, but I can't release the
Excel instance from memory. Excel.exe stays in the Windows Task Manager.
Below is an example of the code I'm using:
Dim appExcel As New Microsoft.Office.Interop.Excel.Application
appExcel.ActiveWorkbook.Close()
appExcel.Quit()
System.Runtime.InteropServices.Marshal.ReleaseComObject(appExcel)
appExcel = Nothing
GC.Collect()
Thanks,
Wesley
Excel instance from memory. Excel.exe stays in the Windows Task Manager.
Below is an example of the code I'm using:
Dim appExcel As New Microsoft.Office.Interop.Excel.Application
appExcel.ActiveWorkbook.Close()
appExcel.Quit()
System.Runtime.InteropServices.Marshal.ReleaseComObject(appExcel)
appExcel = Nothing
GC.Collect()
Thanks,
Wesley