|
-
March 26th, 2001, 07:32 PM
#1
How to create MSCHART on running time ?
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 .
-
March 26th, 2001, 08:45 PM
#2
Re: How to create MSCHART on running time ?
private Sub Form_Load()
Dim MyChart1 as MSChart
set MyChart1 = Controls.Add("MSChart20Lib.MsChart", "Chart1")
End Sub
In addition, on the MAKE tab of project properties, Uncheck the Remove information about unused activeX controls
John G
-
March 27th, 2001, 03:53 AM
#3
Re: How to create MSCHART on running time ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|