Delphi 7 中如何使用 Crystal Report 9.2(四、如何发布自己的程序)
日期:2007年7月27日 作者: 查看:[大字体 中字体 小字体]-
CRViewer9.dll: Comctl32.dll
CRDesignerCtrl.dll: Msvcrt.dll, Comctl32.dll
Craxddrt9.dll: Mfc42.dll, Msvcrt.dll, Msvcp60.dll, Comctl32.dll, Comdlg32.dll, Msvcirt.dll·需要C&C++运行库
——Mfc42.dll (version 6.0.8447.0 or higher)
——Msvcrt.dll (version 6.0.8397.0 or higher)
——Msvcp60.dll (version 6.0.8168.0 or higher)
·其他系统库
Comdlg32.dll
——Comctl32.dll
——Riched20.dll
——Usp10.dll·Crystal Report 运行库文件需要安装以下文件和操作:
——Run CR9Deploy.reg; (or modify this file to where you will have your bin folder, the rest of this article assumes that the bin folder location is "C:\Program Files\Common Files\Crystal Decisions\2.0\bin") refer to 'Runtime.chm' and look under 'Side-by-side installation' for more information.
——Copy Unicows.dll to "C:\Program Files\Common Files\Crystal Decisions\2.0\bin". Include unicows.dll (version 1.0.3703.0 or higher) into distributions that are targeted for Windows 9x computers. For more information, refer to knowledge base article c2011871
——Copy Craxdrt9.dll to "C:\Program Files\Common Files\Crystal Decisions\2.0\bin" (Register this file using regsvr32.exe)
——Copy the following dependency files to "C:\Program Files\Common Files\Crystal Decisions\2.0\bin"
——Implode.dll (for applications using reports created in versions previous to Crystal Reports 8)
——Querybuilder.dll
——Ufmanager.dll
——Atl.dll (There are two versions of Atl.dll one for Win9x and another for WinNT/Win2000. Please refer to special instructions in 'Runtime.chm' and look under 'Additional Components' and then 'Paged-ranged export' for more information.)
——Copy Crqe.dll to "C:\Program Files\Common Files\Crystal Decisions\2.0\bin" (Register this file using regsvr32.exe)
——Copy keycode.dll to "C:\Program Files\Common Files\Crystal Decisions\2.0\bin" (Register this file using regsvr32.exe)
·如果需要允许在应用程序查看报表那么需要下面的操作:
——Copy Crviewer9.dll to "C:\Program Files\Common Files\Crystal Decisions\2.0\bin" (Register this file using regsvr32.exe)
·如果需要程序中能够设计报表模板的功能,则需要下面的操作:——
Copy Crdesignerctrl.dll to "C:\Program Files\Common Files\Crystal Decisions\2.0\bin" (Register this file using regsvr32.exe)
——Copy Craxddrt.dll to "C:\Program Files\Common Files\Crystal Decisions\2.0\bin" (Register this file using regsvr32.exe)
·ACTIVE DATA
如果需要用到ACTIVE DATA(ADO, CDO, DAO, RDO, etc),则需要加入数据库访问的库文件。
·DATABASE DLLs
如果程序中用的不是活动数据连接,而是数据库文件(如Access表等)则需要crdb_*.dll or p2*.dll相应的库文件支持。
·导出 Dlls
根据自己的需要选择导出Dll文件。
3、 遇到的一些问题
·导出HTML问题(虽然我们加了很多库文件,最后发现导出HTML不能正常使用),我们需要检查如下库文件,是否全部包含了。
在Program Files\Common Files\Crystal Decisions\2.0\bin中检查:
——Crxf_html.dll
——ReportRenderer.dll (Register this file using regsvr32.exe)
——PageObjectModel.dll (Register this file using regsvr32.exe)
——WebReporting.dll (Register this file using regsvr32.exe)
——Commonobjmodel.dll (Register this file using regsvr32.exe)
——Rptdefmodel.dll (Register this file using regsvr32.exe)
——U2fcompress.dll
——DataDefModel.dll
——Gdiplus.dll (Due to licensing restrictions, you must get gdiplus.dll from the Microsoft web site. Go to http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdkredist.htm and select "GDI+ RTM").
在Crystal report 安装包中已经带有Crxf_html.dll 、ReportRenderer.dll 、PageObjectModel.dll 、WebReporting.dll这几个文件了,我们需要加入 U2fcompress.dll 、Commonobjmodel.dll 、Rptdefmodel.dll 、Gdiplus.dll四个文件就可以解决导出HTML的问题。
如果在报表中有自定义的函数,则需要加入U2*.dll (UFL)库文件。
·在客户机上安装程序后,发现带有图表的报表不能正常显示,需要将Program Files\ Common Files\Crystal Decisions\2.0\bin中的sscsdk80.dll拷贝到Windows\WINNT\System32,这是因为可能客户机上含有老版本的sscsdk80.dll,需要将新版本的文件拷贝到系统目录下面。
二、 总结
回顾我们在Delphi 7 中利用Crystal Report 9 VCL 开发项目的历程发现实际上使用方法很简单,但我们在当初开始使用的时候总会遇到这样那样的问题,首先是我们使用认识需要一个过程,其次就是Crystal Report 9 VCL中存在很多问题,需要我们发现,去修正。当然,本文也是一个粗浅的使用指导,里面有很多缺陷和不足,需要大家使用过程中去发现和完善,本文的目的是引导大家尽快熟悉使用Crystal Report 9 VCL在Delphi 中开发我们的程序。
- 上一页 [1] [2] [3] 下一页
-
- Delphi 7 中如何使用 Crystal Report 9.2(四、如何发布自己的程序) 相关文章:
- ·非主流ps教程实用的技巧大全
- ·把网页保存为图片 换种方式收集有用资料
- ·巧用名称框选择过宽的Excel单元格区域
- ·用十大安全策略加固无线局域网安全
- ·Photoshop字体安装使用方法和技巧
- ·不用双显卡 PowerPoint 2007也玩双显示输出
- ·利用插件来校验XHTML是否符合Web标准
- ·Windows Vista系统如何用命令行运行系统还原
- ·用Illustrator封套快速制作时装广告
- ·用JavaScript刷新框架子页面的方法
- Delphi 7 中如何使用 Crystal Report 9.2(四、如何发布自己的程序) 相关软件
- ·《反恐精英CS》夜视镜专用地图cs_17elwell
- ·WEF决赛 Grubby使用不死族大败Tod录像包
- ·《实况足球9》实用工具集
- ·Excel2003函数应用完全手册
- ·魔兽CEG2006专用地图下载
- ·《雷神之锤4》v1.3到v1.4.2升级补丁(Windows系统专用)
- ·《热血传奇》专用下载器
- ·《彩虹岛》专用下载器
- ·《合金战纪》大众用户封测客户端
- ·图片欣赏-精美军用飞机航空摄影
- 特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作
- 者.文章版权归文章原始作者所有.对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转
- 载的文章有版权问题请联系编辑人员,我们尽快予以更正. 转载请注明来源:http://www.hackhome.com
下一篇:在C语言中如何处理时间和日期
精品推荐
热点TOP10
- ·Delphi下的ADO使用方法!
- ·在Delphi中实现数据分析模块的动态报表
- ·在Delphi中控制扫描仪
- ·用拼音首字符来实现检索功能
- ·让Delphi的DBGrid支持鼠标轮
- ·自 动 隐 藏 的 声 象 按 钮
- ·OpenGL简介
- ·用Delphi制作动态有声标签
- ·从 实 例 看 Delphi 4 中 的 动 态
- ·Delphi中为DBGrid控件添加色彩
- ·常用的BCB & Delphi 函数
- ·产生不重复随机数的简便算法
- ·陈经韬2002原创资料
- ·Delphi2005试用版安装指南
- ·Delphi中ListBox控件的六种特效
- ·第三方控件使用方法
- ·关于SMTP和POP3使用及关于客户-服务端的自动连线问题
- ·关于MP3中的ID3V2格式探讨及我写的ID3V2读取源码
- ·监视打印机部分线程内容
- ·获取其他进程中ListView的文本
