I also have a second machine with Windows XP on it with my old VB6 code on it. On this machine, although I have Visual Studio 2010 installed, I do not have Crystal Reports for Visual Studio 2010 installed. When I install the new program on it, all reports works fine.
However, when I install my program on any user machine, when a report is called, the mouse shows the busy icon for about 30 seconds or so, and then goes away and then nothing. No errors, no report viewer, no report. And the program continues to work.
The user machines all have the VB6 version of my program running Crystal XI and the reports work fine and continue to work fine in my old program on my test machines. But the new program, as I said, does not even bring up the viewer. And their are no errors. I am obviously missing some file on the user machines but I am at my wits end.
Please help.
Rico Graniero
I am using CrystalProxy.dll (ADO.NET) in order to create native reports. At the report creation side there is no problem. But client deployment of Crystal Reports is like being in a hell. I have tried to use ActiveX viewer and it was working. But when I install Crystal Runtime to the clients, some of them throwed TLV error something. After that I decided to use Crystal Viewer .NET control assembly and I created an ABL form code and add Crystal Viewer control code manually as above. (because Visual Designer throws error when it is refreshed). But when I run the window and after push the invoke LoadReport() pushing the button "buttonOk", throws error like: ERROR: "VALUE CAN NOT BE NULL. PARAMETER NAME: path1". C# version of the same code is working correctly. How can I use CrystalViewer .NEt and Crystal Runtime on .NET GUI? Any idea? Thanks (10.2B)
I am using CrystalProxy.dll (ADO.NET) in order to create native reports. At the report creation side there is no problem. But client deployment of Crystal Reports is like being in a hell. I have tried to use ActiveX viewer and it was working. But when I install Crystal Runtime to the clients, some of them throwed TLV error something.
While Notepad, Word every application is detecting the System printer preferences properly. If I make changes in my System printer preferences then also Notepad, Word etc applications are reflecting those changes properly.So, my question is why crystal report is not reflecting the changes we make in our system printer preferences during runtime? Any suggestion or hint will be greatly appreciated. I tried this code also:
My default printer is OKI MICROLINE 321 TURBO with paper size Fanfold 15x12 in(Tractor feed). I am using the built in crystal report from visual studio 2005 for my windows based application. While creating the report I have chosen the printer as OKI with Fanfold 15x12 in(Tractor feed) in the Design->printer setup dialog box from my report. The report is showing properly.
Crystal Report Viewers work as a container of a report and allow us to view a crystal report in Windows and Web applications. Crystal Reports for Visual Studio .NET provides two report viewers - Windows Forms Viewer and Web Forms Viewer. As you can guess from these names, Windows Forms Viewer control is used to view reports in Windows Forms applications and Web Forms Viewer is used to display reports in Web Forms applications.
To view a report in the viewer, you simply need to set the ReportSource property of the control. The ReportSource property can be either a full name of the report file, a strongly typed report, or a ReportDocument object.
Using the CrystalReportViewer class members, we can customize the behavior of the viewer such as disabling or enabling viewer toolbar buttons, adding custom zoom factor, or moving to different views of the report programmatically. The default Crystal Report Viewer looks like the following:
The first four buttons on the viewer allow us to move first, previous, next, and last page of the report. The next button can be used to jump to a particular page. Next three buttons are used to close the view, print the report, and refresh the report respectively.
A page in the report is called a view. The active page is called active view. The ActiveViewIndex property gets or sets the active view in the viewer and ViewCount returns total number of views in a report.
CloseViewCloses a view tab in the viewer.DrillDownOnGroupDrills down on a group.ExportReportExports the report displayed in the viewer.GetCurrentPageNumberGets the current page number of the report.PrintReportPrints the report displayed in the viewer.RefreshReportRefreshes the report displayed in the viewer.SearchForTextSearches the report for the given text.ShowFirstPageShows the first page of the report.ShowGroupTreeShows the group tree in the viewer.ShowLastPageShows the last page of the report.ShowNextPageShows the next page of the report.ShowNthPageShows the specified page of the report.ShowPreviousPageShows the previous page of the report.ZoomChanges the magnification level of the viewer
Welcome to the online help for the SAP Crystal Reports viewer 2011!
The viewer provides you with an easy way to view and share your Crystal reports (.rpt or .rptr files).
When you view a report, you can work with it interactively:
You can navigate through the report, using convenient tools that help you find the exact information you're looking for.
You can explore report data to see background information. (Background information is often found in hidden sections of the report that you normally don't want to see.)
You can export the report to one of several formats that are available. For example, you can export your report to PDF.
You can use interactive parameters and sorting to filter and organize report information.
You can save a report to SAP BusinessObjects Enterprise.
Install CrystalKiwi Explorer viewer software on each PC to view Crystal Reports .rptfiles without the need for expensive Crystal Reports designer licenses. Display a Crystal Report using data saved in the report file or refresh the report from the database for up-to-date information. Supports using report parameters, printing, and exporting to formats such as PDF, Word, and Excel.
df19127ead