I have inherited a Visual Basic 6.0 program containing TeeChart routines. I have included TeeChart Pro ActiveX Control v8, but when I try to compile it I get the error 'method or data member not found at the command:
TChart1.Tools.Items(0).asDrawLine.AddLine x1, y1, x2, y2
The error occurs at the .Tools part of the command.
I am not sure if it is a TeeChart ActiveX problem or a Visual Basic one.
Any ideas?
Compiling Visual Basic with TeeChart Controls
Re: Compiling Visual Basic with TeeChart Controls
Hello TSE,
Next lines of code, work fine for me using last version 8 of TeeChartActiveX:
Could you say us which version 8 of TeeChart are you using?
Thanks,
Next lines of code, work fine for me using last version 8 of TeeChartActiveX:
Code: Select all
TChart1.Tools.Add tcDrawLine
TChart1.Tools.Items(0).asDrawLine.AddLine X1, Y1, X2, Y2
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Compiling Visual Basic with TeeChart Controls
I have Version 8.0.0.3.
I inherited both the program and the ActiveX control from a retired colleague via our IT Support department.
I inherited both the program and the ActiveX control from a retired colleague via our IT Support department.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Compiling Visual Basic with TeeChart Controls
Hi TSE,
Latest TeeChart Pro v8 ActiveX release available at the client download area is v8.0.0.8. Can you please try if this version solves the problem at your end?
Thanks in advance.
Latest TeeChart Pro v8 ActiveX release available at the client download area is v8.0.0.8. Can you please try if this version solves the problem at your end?
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Compiling Visual Basic with TeeChart Controls
I have installed v8.0.0.8. The problem remains. In the 'Insertable Objects' part of the Components dialog TeeChart Pro ActiveX Control v8 appears 13 times. TeeChart only appears as a selected control if all 13 objects are selected. This does not seem right. After upgrading to v8.0.0.8, I believe this number increased.
Re: Compiling Visual Basic with TeeChart Controls
Hello TSE,
Could you please try to arrange a simple example project we can run as-is to reproduce exactly the problem here.
Thanks,
Could you please try to arrange a simple example project we can run as-is to reproduce exactly the problem here.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |