Getting version info

TeeChart for ActiveX, COM and ASP
Post Reply
Activex7
Newbie
Newbie
Posts: 16
Joined: Wed Aug 16, 2006 12:00 am

Getting version info

Post by Activex7 » Sat Jan 07, 2012 12:04 am

Hi,

I am using teechart activex v7, how do I get the version of the teechart from my code ? I am looking at the teechart object and I don't find any methods. I want a method which returns the version of teechart.

Thanks,

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Getting version info

Post by Yeray » Mon Jan 09, 2012 12:52 pm

Hi,

The following call works fine for me here in VB6:

Code: Select all

MsgBox TChart1.Version
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Activex7
Newbie
Newbie
Posts: 16
Joined: Wed Aug 16, 2006 12:00 am

Re: Getting version info

Post by Activex7 » Mon Jan 09, 2012 4:19 pm

Hi,

I don't see any such method. I am using vc++ and please note I am using activex V7.

-Thanks

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Getting version info

Post by Yeray » Tue Jan 10, 2012 9:25 am

Hi,

If your chart is called m_Chart1, in VC++ 6 you should be able to do:

Code: Select all

MessageBox(m_Chart1.GetVersion());
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply