LegendEntries fails with OWC11

  • Thread starter Alhambra-Eidos Kiquenet
  • Start date
A

Alhambra-Eidos Kiquenet

Hello misters,

I have asp.net 2.0 + vs2005 + owc11.

And I have an method that generates a Chart.

I had try this: this.Response.Write("legend " +
objChart0.Legend.LegendEntries.Count);


But its appears this error message:

Exception Details: System.Runtime.InteropServices.COMException: Error
HRESULT E_FAIL has been returned from a call to a COM component.

Line 447: // Fails !!!
Line 448: this.Response.Write("legend " +
objChart0.Legend.LegendEntries.Count);

Stack Trace:


[COMException (0x80004005): Error HRESULT E_FAIL has been returned from a
call to a COM component.]
Microsoft.Office.Interop.Owc11.ChLegendEntries.get_Count() +0

Any help, please ???

Regards.
 

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

Top