ComponentOne Chart 8.0 for ActiveX
Upgrading From Previous Versions

Visual Basic projects that use Chart 7.0 may be upgraded to Chart 8.0 using the conversion utility provided in the distribution package.

The conversion utility is a Visual Basic program called Convert7to8, and its source code is included should you want to see exactly what it does. It is installed to C:\Program Files\ComponentOne\Studio for ActiveX\Utilities by default. Please note that it may be installed elsewhere if you installed the product to another location.

Convert7to8 reads the name of an existing Visual Basic project, parses the names of all forms, then makes all the changes needed to each file. The routine saves the original files with a "bak" extension that is appended to the original file name (e.g., "Form1.frm" becomes "Form1.frm.bak").

The following list explains the changes needed to convert the project and why they are necessary:

Class names and GUIDs have changed

This affects declarations made inside .frm and .vbp files. To see the GUIDs that have changed please open up the Convert7to8.frm file in notepad and the GUIDs will appear for the old and new Chart versions.

The following table lists the class control names that have changed from Chart7 to Chart8:

 

Chart7 Class Control Names:

Chart8 Class Control Names:

C1Chart2D7.Chart2D

C1Chart2D8.Chart2D

C1Chart3D7.Chart3D

C1Chart3D8.Chart3D

C1Chart2D7U.Chart2D

C1Chart2D8U.Chart2D

C1Chart3D7U.Chart3D

C1Chart3D8U.Chart3D

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback