如何安装FastReport? ( 积分: 50 )

  • 主题发起人 主题发起人 wu_yi_51
  • 开始时间 开始时间
W

wu_yi_51

Unregistered / Unconfirmed
GUEST, unregistred user!
我安装FastReport 3.1后,为什么在dephi7中看不到FastReport的组件。安装似乎就是把程序解压在C:/Program Files/FastReports/FastReport 3中,还需要怎么做?
 
我安装FastReport 3.1后,为什么在dephi7中看不到FastReport的组件。安装似乎就是把程序解压在C:/Program Files/FastReports/FastReport 3中,还需要怎么做?
 
Recompiling FastReport Basic Edition and Standard Edition packages
Perform the following steps if you want to recompile FastReport packages.
Step 0 (for FastReport Basic Edition only)
- open the FastReport 3/Lib/frxReg.inc file and uncomment the following line:
{$DEFINE FR_VER_BASIC}
Step 1. Add paths to library path
1.1. in the Delphi IDE, select "Tools|Environmet options..."
menu
1.2. go "Library"
tab, "Library path"
edit box
1.3. add path to FastReport 3/Lib folder
Step 2. Compile runtime packages
2.1. repeat the 2.2-2.4 steps for the following packages:
- FastReport 3/Lib/fs*.dpk (* = your delphi version)
- FastReport 3/Lib/fsDB*.dpk
- FastReport 3/Lib/fsBDE*.dpk
- FastReport 3/Lib/fsADO*.dpk
- FastReport 3/Lib/fsIBX*.dpk
- FastReport 3/Lib/frx*.dpk
- FastReport 3/Lib/frxDB*.dpk
- FastReport 3/Lib/frxADO*.dpk (FR3 Std only)
- FastReport 3/Lib/frxBDE*.dpk (FR3 Std only)
- FastReport 3/Lib/frxIBX*.dpk (FR3 Std only)
- FastReport 3/Lib/frxDBX*.dpk (FR3 Std only)
- FastReport 3/Lib/frxe*.dpk
2.2. open the package (by "File|Open project..."
menu, select "Delphi
package (*.dpk)"
as a file type)
2.3. press the "Compile"
button
2.4. close the "Package"
dialog
Step 3. Copy runtime packages to system folder
3.1. copy the following files from the Delphi_dir/Projects/Bpl folder
to the Windows/System32 folder (or Windows/System for Win9x/Me):
- fs*.bpl (* = your delphi version)
- fsDB*.bpl
- fsBDE*.bpl
- fsADO*.bpl
- fsIBX*.bpl
- frx*.bpl
- frxDB*.bpl
- frxADO*.bpl (FR3 Std only)
- frxBDE*.bpl (FR3 Std only)
- frxIBX*.bpl (FR3 Std only)
- frxDBX*.bpl (FR3 Std only)
- frxe*.bpl
3.2. note for Delphi4 users: *.bpl files are sitting in the FastReport 3/Lib
folder, not in the Delphi_dir/Projects/Bpl folder
Step 4. Compile and install design-time packages
4.1. repeat the 4.2-4.5 steps for the following packages:
- FastReport 3/Lib/dclfs*.dpk (* = your delphi version)
- FastReport 3/Lib/dclfsDB*.dpk
- FastReport 3/Lib/dclfsBDE*.dpk
- FastReport 3/Lib/dclfsADO*.dpk
- FastReport 3/Lib/dclfsIBX*.dpk
- FastReport 3/Lib/dclfrx*.dpk
- FastReport 3/Lib/dclfrxDB*.dpk
- FastReport 3/Lib/dclfrxADO*.dpk (FR3 Std only)
- FastReport 3/Lib/dclfrxBDE*.dpk (FR3 Std only)
- FastReport 3/Lib/dclfrxIBX*.dpk (FR3 Std only)
- FastReport 3/Lib/dclfrxDBX*.dpk (FR3 Std only)
- FastReport 3/Lib/dclfrxe*.dpk
4.2. open the package (by "File|Open project..."
menu, select "Delphi
package (*.dpk)"
as a file type)
4.3. press the "Compile"
button
4.4. press the "Install"
button
4.5. close the "Package"
dialog, answer "NO"
when Delphi asks to save changes!
------------------------------------------------------------------------
IV. Recompiling FastReport Pro Edition and Enterprise Edition packages
Perform the following steps if you have changed FastReport sources
and want to recompile them.
Step 1. Remove old binary files
1.1. in the Delphi IDE, select "Tools|Environmet options..."
menu
1.2. go "Library"
tab, "Library path"
edit box
1.3. remove path to FastReport 3/Lib folder
Step 2. Add paths to library path
2.1. in the Delphi IDE, select "Tools|Environmet options..."
menu
2.2. go "Library"
tab, "Library path"
edit box
2.3. add path to FastReport 3/FastScript, FastReport 3/Source,
FastReport 3/Source/BDE,ADO,IBX,DBX, FastReport 3/Source/ExportPack
Step 3. Compile runtime packages
3.1. repeat the 3.2-3.4 steps for the following packages:
- FastReport 3/FastScript/fs*.dpk (* = your delphi version)
- FastReport 3/FastScript/fsDB*.dpk
- FastReport 3/FastScript/fsBDE*.dpk
- FastReport 3/FastScript/fsADO*.dpk
- FastReport 3/FastScript/fsIBX*.dpk
- FastReport 3/Source/frx*.dpk
- FastReport 3/Source/frxDB*.dpk
- FastReport 3/Source/ADO/frxADO*.dpk
- FastReport 3/Source/BDE/frxBDE*.dpk
- FastReport 3/Source/IBX/frxIBX*.dpk
- FastReport 3/Source/DBX/frxDBX*.dpk
- FastReport 3/Source/ExportPack/frxe*.dpk
3.2. open the package (by "File|Open project..."
menu, select "Delphi
package (*.dpk)"
as a file type)
3.3. press the "Compile"
button
3.4. close the "Package"
dialog
Step 4. Copy runtime packages to system folder
4.1. copy the following files from the Delphi_dir/Projects/Bpl folder
to the Windows/System32 folder (or Windows/System for Win9x/Me):
- fs*.bpl (* = your delphi version)
- fsDB*.bpl
- fsBDE*.bpl
- fsADO*.bpl
- fsIBX*.bpl
- frx*.bpl
- frxDB*.bpl
- frxADO*.bpl
- frxBDE*.bpl
- frxIBX*.bpl
- frxDBX*.bpl
- frxe*.bpl
4.2. note for Delphi4 users: *.bpl files are sitting in the source folders,
not in the Delphi_dir/Projects/Bpl folder:
FastReport 3/FastScript, FastReport 3/Source,
FastReport 3/Source/BDE,ADO,IBX,DBX, FastReport 3/Source/ExportPack
Step 5. Compile and install design-time packages
5.1. repeat the 5.2-5.5 steps for the following packages:
- FastReport 3/FastScript/dclfs*.dpk (* = your delphi version)
- FastReport 3/FastScript/dclfsDB*.dpk
- FastReport 3/FastScript/dclfsBDE*.dpk
- FastReport 3/FastScript/dclfsADO*.dpk
- FastReport 3/FastScript/dclfsIBX*.dpk
- FastReport 3/Source/dclfrx*.dpk
- FastReport 3/Source/dclfrxDB*.dpk
- FastReport 3/Source/ADO/dclfrxADO*.dpk
- FastReport 3/Source/BDE/dclfrxBDE*.dpk
- FastReport 3/Source/IBX/dclfrxIBX*.dpk
- FastReport 3/Source/DBX/dclfrxDBX*.dpk
- FastReport 3/Source/ExportPack/dclfrxe*.dpk
5.2. open the package (by "File|Open project..."
menu, select "Delphi
package (*.dpk)"
as a file type)
5.3. press the "Compile"
button
5.4. press the "Install"
button
5.5. close the "Package"
dialog, answer "NO"
when Delphi asks to save changes!

说明先使用recompile.exe 编译所有的包,默认放在LIBD7下(dellphi7.0),然后按照上面的步骤安装即可,不用再分别选择目录,都在libd7下了
 
重新安装fastreport 3.03吧,我个人认为还好
 
都说2.53稳定些:
Before installing, remove any other version of FastReport from the Delphi
component palette. Create a folder under your Delphi folder, typically FR253
and decompress the files in fr253.zip to this directory.
! USE WINZIP or WINRAR - ARCHIVE CONTAINS LONG FILE NAMES !
FR2.5 includes full source code. Trial version contains almost all sources
(only one compiled unit). Before installing, you should copy this unit
from ../FR/LIB_DX to ../FR/SOURCE.
!do
N'T CHANGE ANYTHING IN FR.INC FILE OF TRIAL FR VERSION !
3.1. Delphi 2.0
Copy file FR_Class.dcu from ../FR/LIB_D2 to ../FR/SOURCE (if you evaluating
FR).
If you have TChart or TeeChartPro open the file /fr250/source/FR.inc
with any text editor and uncomment the required string, then
save the file -
this will allow the TfrChart component to be installed.
Now open Delphi 2 and select close all from the file menu this will close
the default starting project. Select Install from the component menu select
add the select browse in the dialog box select the source folder under the
folder to which you installed FastReport then
select FR_REG.PAS file, click
Ok, when you return to the install dialog window click Ok again and your
library should recompile.
If you have any problems see installing components in your Delphi Manual.
Note: You should make a backup copy of the Delphi CMPLIB32.DCL AND SAVE IT
IN A DIFFERENT FOLDER - THIS WILL ALLOW YOU TO REPLACE YOUR LIBRARY IF IT
FAILS TO COMPILE .
After compiling, "FastReport"
and "FR Tools"
tabs appears in Delphi's
components palette. AFTER INSTALLING YOU SHOULD REBOOT DELPHI!
For adding FR help file to the Delphi help system, you should:
- copy files from ../FR/Help/English to ../Delphi2/Help;
- make reserved copy of file ../Delphi2/BIN/Delphi.hdx;
- run ../Delphi2/HELP/TOOLS/HelpInst.exe;
- open file ../Delphi2/BIN/Delphi.hdx and choose "Keywords/Add Keyword File";
- open file FR.kwf from ../Delphi2/HELP;
- save all work by "File/Save"
menu command;
- add the following lines to ../Delphi2/Help/Delphi.cnt:
:Index FastReport Reference=FR.hlp
:Link FR.hlp
3.2. Delphi 3.0
Copy file FR_Class.dcu from ../FR/LIB_D3 to ../FR/SOURCE (if you evaluating
FR).
Run Delphi, choose "File/Open..."
menu command and open package
FR3.dpk from ../FR/SOURCE. In package editor, choose "Compile"
button
to compile package. After compiling, press "Install"
button to install
package into Delphi.
After installing, "FastReport"
and "FR Tools"
tabs appears in Delphi's
components palette. AFTER INSTALLING YOU SHOULD REBOOT DELPHI!
Choose "Tools/Environment options..."
menu command. Go "Library"
tab
and add path to ../FR/SOURCE directory to the "Library path"
string.
For adding FR help file to the Delphi help system, you should:
- copy files from ../FR/Help/English to ../Delphi3/Help;
- add the following lines to ../Delphi3/Help/Delphi3.cnt:
:Index FastReport Reference=FR.hlp
:Link FR.hlp
3.3. Delphi 4.0.
Copy file FR_Class.dcu from ../FR/LIB_D4 to ../FR/SOURCE (if you evaluating
FR).
Run Delphi, choose "File/Open..."
menu command and open package
FR4.dpk from ../FR/SOURCE. In package editor, choose "Compile"
button
to compile package. After compiling, press "Install"
button to install
package into Delphi.
After installing, "FastReport"
and "FR Tools"
tabs appears in Delphi's
components palette. AFTER INSTALLING YOU SHOULD REBOOT DELPHI!
Choose "Tools/Environment options..."
menu command. Go "Library"
tab
and add path to ../FR/SOURCE directory to the "Library path"
string.
For adding FR help file to the Delphi help system, you should:
- copy files from ../FR/Help/English to ../Delphi4/Help;
- add the following lines to ../Delphi4/Help/Delphi4.cnt:
:Index FastReport Reference=FR.hlp
:Link FR.hlp
3.4. Delphi 5.0.
Copy file FR_Class.dcu from ../FR/LIB_D5 to ../FR/SOURCE (if you evaluating
FR).
Run Delphi, choose "File/Open..."
menu command and open package
FR5.dpk from ../FR/SOURCE. In package editor, choose "Compile"
button
to compile package. After compiling, press "Install"
button to install
package into Delphi.
After installing, "FastReport"
and "FR Tools"
tabs appears in Delphi's
components palette. AFTER INSTALLING YOU SHOULD REBOOT DELPHI!
Choose "Tools/Environment options..."
menu command. Go "Library"
tab
and add path to ../FR/SOURCE directory to the "Library path"
string.
For adding FR help file to the Delphi help system, you should:
- copy files from ../FR/Help/English to ../Delphi5/Help;
- add the following lines to ../Delphi5/Help/Delphi5.cnt:
:Index FastReport Reference=FR.hlp
:Link FR.hlp
3.5. Delphi 6.0.
Copy file FR_Class.dcu from ../FR/LIB_D6 to ../FR/SOURCE (if you evaluating
FR).
Run Delphi, choose "File/Open..."
menu command and open package
FR6.dpk from ../FR/SOURCE. In package editor, choose "Compile"
button
to compile package. After compiling, press "Install"
button to install
package into Delphi.
After installing, "FastReport"
and "FR Tools"
tabs appears in Delphi's
components palette. AFTER INSTALLING YOU SHOULD REBOOT DELPHI!
Choose "Tools/Environment options..."
menu command. Go "Library"
tab
and add path to ../FR/SOURCE directory to the "Library path"
string.
For adding FR help file to the Delphi help system, you should:
- copy files from ../FR/Help/English to ../Delphi6/Help;
- add the following lines to ../Delphi6/Help/Delphi6.cnt:
:Index FastReport Reference=FR.hlp
:Link FR.hlp
3.6. Delphi 7.0.
Copy file FR_Class.dcu from ../FR/LIB_D7 to ../FR/SOURCE (if you evaluating
FR).
Run Delphi, choose "File/Open..."
menu command and open package
FR7.dpk from ../FR/SOURCE. In package editor, choose "Compile"
button
to compile package. After compiling, press "Install"
button to install
package into Delphi.
After installing, "FastReport"
and "FR Tools"
tabs appears in Delphi's
components palette. AFTER INSTALLING YOU SHOULD REBOOT DELPHI!
Choose "Tools/Environment options..."
menu command. Go "Library"
tab
and add path to ../FR/SOURCE directory to the "Library path"
string.
For adding FR help file to the Delphi help system, you should:
- copy files from ../FR/Help/English to ../Delphi7/Help;
- add the following lines to ../Delphi6/Help/Delphi7.cnt:
:Index FastReport Reference=FR.hlp
:Link FR.hlp
3.7. C++Builder 4.0.
Copy files FR_Class.obj, FR_Class.hpp from ../FR/CBUILD4 and FR_Class.dcu
from ../FR/LIB_D4 to ../FR/SOURCE (if you evaluating FR).
Run C++Builder, choose "File/Open..."
menu command and open package
FR4.bpk from ../FR/SOURCE. In package editor, choose "Compile"
button
to compile package. After compiling, press "Install"
button to install
package into IDE. After installing, "FastReport"
and "FR Tools"
tabs
appears in C++Builder components palette.
Choose "Tools/Environment options..."
menu command. Go "Library"
tab
and add path to ../FR/SOURCE directory to the "Library path"
string.
AFTER INSTALLING YOU SHOULD REBOOT C++BUILDER!
For adding FR help file to the C++Builder help system, choose
"Help/Customize..."
menu command. In "OpenHelp"
dialog in "Contents"
tab
add file ../FR/Help/English/FR.cnt, and in "Index"
tab add file
../FR/Help/English/FR.hlp. After this, save help project
("File|Save Project"
menu command).
3.8. C++Builder 5.0.
Copy files FR_Class.obj, FR_Class.hpp from ../FR/CBUILD5 and FR_Class.dcu
from ../FR/LIB_D5 to ../FR/SOURCE (if you evaluating FR).
Run C++Builder, choose "File/Open..."
menu command and open package
FR5.bpk from ../FR/SOURCE. In package editor, choose "Compile"
button
to compile package. After compiling, press "Install"
button to install
package into IDE. After installing, "FastReport"
and "FR Tools"
tabs
appears in C++Builder components palette.
Choose "Tools/Environment options..."
menu command. Go "Library"
tab
and add path to ../FR/SOURCE directory to the "Library path"
string.
AFTER INSTALLING YOU SHOULD REBOOT C++BUILDER!
For adding FR help file to the C++Builder help system, choose
"Help/Customize..."
menu command. In "OpenHelp"
dialog in "Contents"
tab
add file ../FR/Help/English/FR.cnt, and in "Index"
tab add file
../FR/Help/English/FR.hlp. After this, save help project
("File|Save Project"
menu command).
3.9. C++Builder 6.0.
Copy files FR_Class.obj, FR_Class.hpp from ../FR/CBUILD6 and FR_Class.dcu
from ../FR/LIB_D6 to ../FR/SOURCE (if you evaluating FR).
Run C++Builder, choose "File/Open..."
menu command and open package
FR6.bpk from ../FR/SOURCE. In package editor, choose "Compile"
button
to compile package. After compiling, press "Install"
button to install
package into IDE. After installing, "FastReport"
and "FR Tools"
tabs
appears in C++Builder components palette.
Choose "Tools/Environment options..."
menu command. Go "Library"
tab
and add path to ../FR/SOURCE directory to the "Library path"
string.
AFTER INSTALLING YOU SHOULD REBOOT C++BUILDER!
For adding FR help file to the C++Builder help system, choose
"Help/Customize..."
menu command. In "OpenHelp"
dialog in "Contents"
tab
add file ../FR/Help/English/FR.cnt, and in "Index"
tab add file
../FR/Help/English/FR.hlp. After this, save help project
("File|Save Project"
menu command).
3.10. Installing additional components.
There are three additional components included in standard FR package.
These components can be found in SOURCE/BDE, SOURCE/IBX and SOURCE/ADO
folders. They supersede old datamanager (TfrDataStorage component). To
install them, use same technique as described above. Each component have
a package file. To install in Delphi2, use file with Reg suffix (for example,
FR_BDEReg.pas).
WARNING! The old datamanager (TfrDataStorage) is outdated. It included in
this FR version, but will be removed in the next version. We highly
recommended to stop using it, move to new components and convert your existing
reports.
 
怎么这么复杂,一长串英文,有没有简单的或中文的?
 
多种安装方法,我最常用的是:
1.首先将 FastReport 放到固定的文件夹下面(假若是.../FastReport)。
2.File->Open 找到我们的目标 ../FastReport/Source/DclRMachine7(如果是在d6上那么就是DclRMachine6) ,打开 ,然后 编译(Compile) ->执行(InStall) ,不保存。
3.Tools ->Environment Options ->Library ;
Library path: .....(添加),然后 Add 我们的目标文件夹 ..../fastReport/source
Ok ->
OK ->
一切OK!!!
这种方法就是以后不能移动文件夹,其实把文件拷到D7安装目录下也是一样,以上方法其实很通用(至少我觉得)! :)
 
yoori:
高手:)
 
上面的回答都不能正确安装,如果搂主给我200分,我告诉你正确的安装方法。
100%成功,呵呵。。。
这是我在盒子上发布的简单试用说明。呵呵。。。200分告诉你安装的方法,很简单哦。
http://bbs.2ccc.com/topic.asp?topicid=156282
:)
 
在RAVE中,如何将Access中的图片打印出来!!!
我的Fr2.53打印报表时有水印(显示时没有),谁有破解版?难道是我的安装方法不对?
 

Similar threads

D
回复
0
查看
1K
DelphiTeacher的专栏
D
S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
I
回复
0
查看
631
import
I
D
回复
0
查看
1K
DelphiTeacher的专栏
D
后退
顶部