ComponentOne True DBList Pro 8.0 > Upgrading From Previous Versions |
Visual Basic projects that use True DBList 7.0 may be upgraded to True DBList 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\Conver_7_8 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").
If you have projects which use versions of True DBList other than True DBList 8.0, you can easily convert them to use True DBList 8.0 by running the add-in migration utility, which handles the following conversions:
The True DBList Pro 8.0 Migration Utility is copied to your system during installation. A single add-in is provided for both Visual Basic 5.0 and 6.0. To activate the add-in within the design-time environment, follow these instructions:
Run Visual Basic and select Add-In Manager from the Add-Ins menu. The Add-In Manager dialog will appear.
If you are using Visual Basic 6.0, select the list item labeled True DBList Pro 8.0 Migration Utility, then check the Loaded/Unloaded box.
If you are using Visual Basic 5.0, check the box labeled True DBList Pro 8.0 Migration Utility.
Click the OK button to place the migration utility icon on the toolbar.
After you have added the True DBList Pro 8.0 Migration Utility to the list of available add-ins, follow these steps to convert your projects:
Make backup copies of any projects that you plan to convert.
Open a project that contains one of the controls listed in the From column in the migration chart.
Click the migration utility icon on the toolbar.
Choose the type of migration that applies to your project (for example, from True DBList Pro 5.0 to True DBList Pro 8.0 OLE DB, or from an evaluation copy to the full version), then click OK.
If the conversion succeeds, a message box will appear to inform you that "The current project was converted successfully." To avoid conflict, the migration utility also removes the From control from the Visual Basic Toolbox.
Please note that the migration utility may also need to modify your source code. Whenever source code is modified, the original code will be commented out and the modification will be tagged with the following comment:
Example Title |
Copy Code
|
---|---|
*** ComponentOne Migration Utility Code Change *** |