
February 4th, 2003, 04:33 PM
|
|
Junior Member
|
|
Join Date: Nov 2002
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
CrystalReportViewer prints blank page
Hi,
My VB.Net program loads a Crystal Report into a CrystalReportViewer control so that the user can view a simple report and print it out. Here's an example code snippet:
Code:
Dim crReport As New ReportDocument()
crReport.Load(Application.StartupPath & "\Test.rpt")
crv.ReportSource = crReport
where crv refers to the CrystalReportViewer control. On my Win XP machine I can view the report and print it out. When I install the program on another PC I can view the report, but it does not print any data, just the lines.
The program is deployed to the other PC using by creating an installer with the following msm's
- database_access.msm
- database_access_enu.msm
- managed.msm
- regwiz.msm
- dotnetfxredist_x86_enu.msm
The PC the program is intalled to has the .Net Framework installed.
Any help would be appreciated.
|