ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   ExcelCharts with c# (https://www.excelbanter.com/excel-programming/336667-excelcharts-c.html)

Josema

ExcelCharts with c#
 
Hi to all,

I have a windows application that uses workbooks, sheets, ranges, etc...

This application is consumed by few clients.

Some weeks ago I had problems to kill excel.exe process but i solve with
this sentence:

System.Runtime.InteropServices.Marshal.ReleaseComO bject(o);

where o is a com object (excel sheet, or workbook, etc...).

Now i start to work with Charts in excel and i used the object ChartObject
to get the chart that im interested. The case is that using the
ReleaseComObject the excel process is not killed, and i dont know if this
ChartObject instances more Com objects that i have to release.

Anybody knows how could i solve it.
--
Thanks
Regards.
Josema


All times are GMT +1. The time now is 06:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com