excel application does not shut down after program exit

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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 memor
so my applications gives memory error.

Thanks for your hel
 
Try calling System.Runtime.InteropServices.Marshal.ReleaseComObject on your
excel objects before setting them to null.

G.D said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top