Hi, everyone :
I want create MSCHART on running time , so I program
like this :


Dim MyChart1 as MSChart

private Sub Form_Load()
...

set MyChart1 = Controls.Add("MSChart20Lib.VtChChartType2dLine", "Chart1")
...






But the compilier tell me the " Invalid class string "
Can you help me ?

Thanks .