View Single Post
  #5 (permalink)  
Old March 1st, 2006, 03:53 AM
ng13 ng13 is offline
Registered User
 
Join Date: Feb 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, I am also facing the same problem. Could you find any solution for this?
I am using Crystal Reports 10 Developer Edition. I m very new to crystal reports.

My problem is that Screen remains blank and not prompting for ActiveX Viewer Download.
I am using following code for CrystalActiveXReportViewer with C#:

Application app2 = new CRAXDRT.ApplicationClass();
Report rap = new CRAXDRT.ReportClass();
CrystalActiveXReportViewer viewReport = new
CrystalActiveXReportViewerClass();
rap =
app2.OpenReport("C:\\TestReport.rpt",CRAXDRT.CROpe nReportMethod.crOpenRepo
rtByDefault);
rap.Database.Tables.SetDataSource(objDS.Tables[0],null);
viewReport.DisplayBorder = true;
viewReport.ReportSource = rap;
viewReport.Zoom (100);
viewReport.ViewReport();
viewReport.Refresh();

Please post if you have any solution to this.
Thanks in advance.

Reply With Quote