Perform the following list of actions:
1. Create a new application (File -> New -> VCL Forms Application).
2. Enter in the Uses clause module ConverterQR2FR (for convert QuickReport) or ConverterRB2FR (for convert ReportBuilder).
3. Depending on the installed components, you may need to remove the following blocks from the Uses clause in ConverterQR2FR.pas or ConverterRB2FR.pas:
VCLTee.TeeProcs, VCLTee.TeEngine, VCLTee.Chart, VCLTee.Series, VCLTee.TeCanvas
frxChart, frxBDEComponents, frxIBXComponents
4. Add the following components to the form:
- Button1, Button2, Button3
- ListBox1, ListBox2
- Label1, Label2
Enter this code to the Button1Click() event of the “Select File” button.
Enter this code to the Button2Click() event of the “Convert” button.
Enter this code to the Button3Click() event of the “Clear list of files” button.
Enter this code to the ListBox2Click() event that performs when you click the ListBox2 element to open the selected template in the designer.
Run the application
Select files to convert
The selected files appear in the “Selected file” list
Click the Convert button, the files from the “Selected file” list will be converted, and the address of the saved templates will be displayed in the format *.fr3
Click on any template address in the “Saved templates in FR” list and it will be opened in the FR designer, check if the conversion is correct.