excel application does not shut down after program exit

  • Thread starter Thread starter G.D
  • Start date Start date
G

G.D

hi,
i create an excel application (MS Excel 2000 installed) in
vb.net. At the end, i close all workbook and quit from
excel aplication. I also set them nothing and call garbage
collection. But excel application does not end, stays
resident in memory
so my applications gives memory error.

Thanks for your help
 
Hi GD
Try this before calling GC.

System.Runtime.InteropServices.Marshal.ReleaseComObject
(objExcelApp)

Kind Regards
Jorge
 
Back
Top