P
Patrick McElreavy
Hi,
I'm upgrading an OWC10 project to OWC11. For now, everything seems to
be fine except that I'have got this problem -- I cannot get to type
OWC11 chart's InternalPivotTable correctly.
I have this code:
Dim objChartSpace As AxOWC11.AxChartSpace
Dim objChartPivot As AxOWC11.AxPivotTable
[...]
objChartPivot = CType(objChartSpace.InternalPivotTable,
AxOWC11.AxPivotTable)
With OWC10 it works perfectly but in OWC11 I get a "Specified cast is
not valid" error.
The project is written in VB.NET in Visual Studio.NET 2003 using the
Microsoft.NET Framwork 1.1.
Can anyone help?
I'm upgrading an OWC10 project to OWC11. For now, everything seems to
be fine except that I'have got this problem -- I cannot get to type
OWC11 chart's InternalPivotTable correctly.
I have this code:
Dim objChartSpace As AxOWC11.AxChartSpace
Dim objChartPivot As AxOWC11.AxPivotTable
[...]
objChartPivot = CType(objChartSpace.InternalPivotTable,
AxOWC11.AxPivotTable)
With OWC10 it works perfectly but in OWC11 I get a "Specified cast is
not valid" error.
The project is written in VB.NET in Visual Studio.NET 2003 using the
Microsoft.NET Framwork 1.1.
Can anyone help?