ComponentOne True DBGrid Pro 8.0 > Upgrading |
If you have projects which use versions of True DBGrid other than True DBGrid Pro 8.0, you can easily convert them to use True DBGrid Pro 8.0 by running the add-in migration utility.
The True DBGrid 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 DBGrid Pro 8.0 Migration Utility, then check the Loaded/Unloaded box.
If you are using Visual Basic 5.0, check the box labeled True DBGrid Pro 8.0 Migration Utility.
Click the OK button to place the migration utility icon on the toolbar.
After you have added the True DBGrid 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 DBGrid 1.0 to True DBGrid Pro 8.0, or from True DBGrid Pro 7.0 to True DBGrid Pro 8.0 OLE DB), 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 *** |