N
Nikita Chu
Environment in use: VS.NET(2003) and OWC10.
I'd like to draw a chart with a data from the spreadsheet component in my
Windows applecation (VB.NET)
I'm getting this run-time error "Invalid Cast" at the '.DataSource=.. ' line
(see the code bellow).
With ChartSpace1
.Clear()
.Refresh()
.DataSource = axSpreadSheet1.object
End With
Since the type for DataSource property value is msdatasrc.DataSource, I've
also tried to convert as : CType(axSpreadSheet1, msdatasrc.DataSource). No
result.
Search in MSDN doesn't help.
I also saw a couple of similar posts without replies on the Web.
Please, any suggestions?
Thanks.
I'd like to draw a chart with a data from the spreadsheet component in my
Windows applecation (VB.NET)
I'm getting this run-time error "Invalid Cast" at the '.DataSource=.. ' line
(see the code bellow).
With ChartSpace1
.Clear()
.Refresh()
.DataSource = axSpreadSheet1.object
End With
Since the type for DataSource property value is msdatasrc.DataSource, I've
also tried to convert as : CType(axSpreadSheet1, msdatasrc.DataSource). No
result.
Search in MSDN doesn't help.
I also saw a couple of similar posts without replies on the Web.
Please, any suggestions?
Thanks.