Hi,
When I try to display an horizontal Gantt, and it has a lot of points this error appears.
"Access violation at address XXXX in module Teechart5.ocx"
I have the 5.0 version
Thank a lot.
Bego.
Access violation at address XXXX in module Teechart5.ocx
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Bego,
I've tried to reproduce your problem without success. I've added 100000 gantt points but the application worked fine. The code I used is:
Could you please tell us the steps to reproduce the problem or send us an example we can run "as-is" to reproduce the problem here? You can post your projects at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
I've tried to reproduce your problem without success. I've added 100000 gantt points but the application worked fine. The code I used is:
Code: Select all
Private Sub Form_Load()
Randomize
For i = 0 To 100000
TChart1.Series(0).asGantt.AddGantt Rnd(100), Rnd(100), Rnd(100), ""
Next i
End Sub
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 |
Hi Begoña,
are you using the latest maintenance release of TeeChart Pro v5 ( the v5.06) ? You can download it from our web site , at the private customers download page.
I've just try with the following code and works fine here :
For i = 0 To 3000
TChart1.Series(0).asGantt.AddGanttColor Rnd * 100, Rnd * 200, Rnd * 5, "", vbBlue
Next i
are you using the latest maintenance release of TeeChart Pro v5 ( the v5.06) ? You can download it from our web site , at the private customers download page.
I've just try with the following code and works fine here :
For i = 0 To 3000
TChart1.Series(0).asGantt.AddGanttColor Rnd * 100, Rnd * 200, Rnd * 5, "", vbBlue
Next i
Pep Jorge
http://support.steema.com
http://support.steema.com