ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   ExcelCharting in c# (https://www.excelbanter.com/charts-charting-excel/39203-excelcharting-c.html)

Josema

ExcelCharting in 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 09:46 PM.

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