安裝前請冊除原有的FR控件。ip
1. "Tools|Environmet options..."中的"Library"標籤面下"Library path"添加FastReport路徑。
FastReport\FastQB io
FastReport\FastScript
FastReport\Source
FastReport\Source\BDE編譯
FastReport\Source\ADOast
FastReport\Source\IBX變量
FastReport\Source\DBX
FastReport\Source\ExportPack程序
2. 生成漢化文件
運行"recompile.exe"文件,設置相應選項,個人設置以下:
1.Select the compiler 設置爲 Delphi7
2.Select the FastReport Version 設置爲 Enterprise環境變量
3.Select the TeeChart version 設置爲 TeeChartStd 文件
4.What you want to do 下的 Change language To: 設置爲 Chinese (這個還用說)
3. 編譯運行包(其它版本的Delphi選擇相對應的文件編譯)
- FastReport\FastQB\fqb70.dpk
- FastReport\FastScript\fs7.dpk
- FastReport\FastScript\fsDB7.dpk
- FastReport\FastScript\fsBDE7.dpk
- FastReport\FastScript\fsADO7.dpk
- FastReport\FastScript\fsIBX7.dpk
- FastReport\Source\frx7.dpk
- FastReport\Source\frxDB7.dpk
- FastReport\Source\ADO\frxADO7.dpk
- FastReport\Source\BDE\frxBDE7.dpk
- FastReport\Source\IBX\frxIBX7.dpk
- FastReport\Source\DBX\frxDBX7.dpk
- FastReport\Source\ExportPack\frxe7.dpkvi
4. 複製如下文至Windows\System32目錄下
- fs7.bpl
- fsDB7.bpl
- fsBDE7.bpl
- fsADO7.bpl
- fsIBX7.bpl
- frx7.bpl
- frxDB7.bpl
- frxADO7.bpl
- frxBDE7.bpl
- frxIBX7.bpl
- frxDBX7.bpl
- frxe7.bpl
若是你的Delphi7沒有修改環境變量那麼這些文件默認是在\Borland\Delphi7\Projects\Bpl目錄中。
這一步我沒有作,由於我的感受複製不復制效果都是同樣的。只要程序能找到這些文件就好了!ant
5. 編譯並安裝如下文件 - FastReport\FastScript\dclfs7.dpk - FastReport\FastScript\dclfsDB7.dpk - FastReport\FastScript\dclfsBDE7.dpk - FastReport\FastScript\dclfsADO7.dpk - FastReport\FastScript\dclfsIBX7.dpk - FastReport\Source\dclfrx7.dpk - FastReport\Source\dclfrxDB7.dpk - FastReport\Source\ADO\dclfrxADO7.dpk - FastReport\Source\BDE\dclfrxBDE7.dpk - FastReport\Source\IBX\dclfrxIBX7.dpk - FastReport\Source\DBX\dclfrxDBX7.dpk - FastReport\Source\ExportPack\dclfrxe7.dpk