Avoid DLL Data Report installation errors for VB 6.0 apps
If you need down and dirty reporting in your VB data application,
the Data Report control provides a great way to offer quick
reports. However, when you use this tool, make certain you reference
the correct DLL.
As reported in the Microsoft Knowledge base, Visual Basic contains two
DLLs for the Data Report: Msdbrpt.dll and Msdbrptr.dll. When you build
a report layout at design-time, you use the Msdbrpt.dll. However, for
your application users to view and print the report, your compiled
code will need the Msdbrptr.dll library, (the run-time DLL). Also keep
in mind that when you add the Data Report component to your project
through the Add Components dialog box, VB installs the design-time
version of the DLL.
To ensure that you have the proper reference, manually check the file
names in the References dialog box. The main list of references will
display two Microsoft Data Report Designer 6.0 options, so check the
Location paths to determine the design-time from the run-time version.
文章来源于领测软件测试网 https://www.ltesting.net/
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备2023014753号-2
技术支持和业务联系:info@testage.com.cn 电话:010-51297073










