thnx for reply....but m_chart.put_ChartData(saRet.Detach());....put_ChartData is not available in mschart...
Printable View
Did you make the wrapper for the class?
Try to use:
#import <msdatsrc.tlb> no_namespace
#import <mschrt20.ocx> no_namespace
Then make a member variable for the chart, via Resources Dialog Designer, by assigning the chart to the class wrapper, something like CDMSChart class.
Cheers,