K
KC
Is this
Exception from HRESULT: 0x800401A8
an error or a bug? I've been trying to build a chart in Excel through VB.net
(which isn't documented) so I'm running completely blind. What examples I
have found are from VB6 which doesn't convert well. When I do try a new
piece of code like:
oChart.Legend.Position = Excel.XlLegendPosition.xlLegendPositionBottom
(which sets the legend in a chart at the bottom of the chart) that is
syntactically correct in VB.net, but crashes at run-time, I'll get errors
like:
Exception from HRESULT: 0x800401A8.
Extremely frustrating.
Ken
Exception from HRESULT: 0x800401A8
an error or a bug? I've been trying to build a chart in Excel through VB.net
(which isn't documented) so I'm running completely blind. What examples I
have found are from VB6 which doesn't convert well. When I do try a new
piece of code like:
oChart.Legend.Position = Excel.XlLegendPosition.xlLegendPositionBottom
(which sets the legend in a chart at the bottom of the chart) that is
syntactically correct in VB.net, but crashes at run-time, I'll get errors
like:
Exception from HRESULT: 0x800401A8.
Extremely frustrating.
Ken