Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.dotnet.languages.csharp,microsoft.public.excel.interopoledde,microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi there,
I am trying to export a chart using the Excel11 object from C#. I can properly open workbooks and read cells, but calling Export() on the Chart object throws a COMException Exception: System.Runtime.InteropServices.COMException (0x800A03EC): Exception from HRESULT: 0x800A03EC. at Excel._Chart.Export(String Filename, Object FilterName, Object Interactive) at MBCCS.LeParc.Importer.Importer.GetImageInfoFromWor ksheet(Worksheet worksheet) in d:\source\leparc\importer\importer.cs:line 211 The line causing this is: tempChart.Chart.Export(filename, "JPEG", Missing.Value); The JPEG filter is registered. I am trying to export a picture in excel. What I am doing is creating a new chart, copying the picture to the chart, then exporting the chart. The Excel.exe process is running under the ASPNET account. Any ideas would be greatly appreciated. Thanks, Steven |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Chart.Export throws COMException (0x800A03EC) | Charts and Charting in Excel | |||
Exception from HRESULT: 0x800A03EC | New Users to Excel | |||
Exception from HRESULT: 0x800AC472 | Excel Discussion (Misc queries) | |||
Error 0x800A03EC trying to set range value | New Users to Excel | |||
Exception HResult: 0x8007FA08 (VB.net) | Excel Programming |