Access violation at address XXXX in module Teechart5.ocx

TeeChart for ActiveX, COM and ASP
Post Reply
jaedma
Newbie
Newbie
Posts: 1
Joined: Fri Oct 03, 2003 4:00 am

Access violation at address XXXX in module Teechart5.ocx

Post by jaedma » Mon Apr 11, 2005 10:07 am

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Apr 11, 2005 10:24 am

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:

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
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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Apr 12, 2005 4:52 pm

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

Post Reply