The Crystal ActiveX Report Viewer Control, which displays the report on the screen and provides a toolbar for navigating, zooming, refreshing, printing, and exporting the report.
The Crystal Print Control, which allows users to print the report to a printer or a file.
The Crystal Export Control, which allows users to export the report to various formats, such as PDF, Excel, Word, HTML, RTF, etc.
The Crystal Parameter Panel Control, which allows users to enter or select values for the parameters used in the report.
The Crystal Parameter Field Control, which displays a single parameter field on the screen.
The Crystal Parameter Dialog Control, which displays a dialog box for entering or selecting values for multiple parameters.
The Crystal ActiveX Report Viewer Library XI can be used in various environments, such as web browsers, Visual Basic applications, Delphi applications, etc. To use the library, users need to install it on their machines or download it from a web server. The library can be installed from the Crystal Reports XI CD-ROM or from the [Crystal Reports XI Runtime] package. The library can also be downloaded from a web server that hosts the reports using the [Crystal Reports Server XI] software or the [Crystal Enterprise Embedded Edition] software.
How to use the Crystal ActiveX Report Viewer Library XI in a web browser?
To use the Crystal ActiveX Report Viewer Library XI in a web browser, users need to have Internet Explorer 6.0 or higher and enable ActiveX controls in their browser settings. Users also need to have permission to access the web server that hosts the reports. The following steps describe how to use the library in a web browser:
Open Internet Explorer and navigate to the web page that contains the report.
If prompted, allow Internet Explorer to install the Crystal ActiveX Report Viewer Library XI from the web server. This may take a few minutes depending on the network speed and the size of the library.
Once installed, the report will be displayed on the screen using the Crystal ActiveX Report Viewer Control. Users can use the toolbar to interact with the report.
If the report has parameters, users can enter or select values for them using the Crystal Parameter Panel Control or the Crystal Parameter Dialog Control. The report will be refreshed accordingly.
If users want to print or export the report, they can use the Crystal Print Control or the Crystal Export Control. A dialog box will appear where users can choose the destination and format of the output.
How to use the Crystal ActiveX Report Viewer Library XI in a Visual Basic application?
To use the Crystal ActiveX Report Viewer Library XI in a Visual Basic application, users need to have Visual Basic 6.0 or higher and reference the library in their project. Users also need to have access to the report files or connect to a database that contains them. The following steps describe how to use the library in a Visual Basic application:
Open Visual Basic and create a new project or open an existing one.
Go to Project > References and check the box next to "Crystal ActiveX Report Viewer Library 11.5". Click OK.
Go to Project > Components and check the box next to "Crystal ActiveX Report Viewer Control 11.5". Click OK.
Drag and drop the Crystal ActiveX Report Viewer Control from the toolbox onto a form.
Right-click on the control and select Properties. In the Properties window, click on the ReportSource property and browse for the report file (.rpt) that you want to display. Alternatively, you can use the OpenReport method of the control to load the report file at runtime.
If the report has parameters, you can use the ParameterFields property or the ParameterFieldInfo method of the control to set or get the values for them.
If you want to print or export the report, you can use the PrintReport or ExportReport methods of the control. You can also use the PrintMode or ExportMode properties to specify the options for printing or exporting.
Run the project and see the report on the screen using the Crystal ActiveX Report Viewer Control.
How to use the Crystal ActiveX Report Viewer Library XI in a Delphi application?
To use the Crystal ActiveX Report Viewer Library XI in a Delphi application, users need to have Delphi 7.0 or higher and import the library into their project. Users also need to have access to the report files or connect to a database that contains them. The following steps describe how to use the library in a Delphi application:
Open Delphi and create a new project or open an existing one.
Go to Component > Import Component and select "Import ActiveX Control". Click Next.
Select "Crystal ActiveX Report Viewer Library 11.5" from the list of registered ActiveX controls. Click Next.
Select "Install into New Package" and enter a name for the package. Click Next.
Select "Add Unit to Project" and click Finish. A new unit will be created with the interface and implementation of the library.
Go to Component > Install Packages and check the box next to the package that contains the library. Click OK.
Go to View > Tool Palette and find the "Crystal Reports XI" tab. Drag and drop the TCrystalActiveXReportViewer component onto a form.
Right-click on the component and select Properties. In the Object Inspector, click on the ReportSource property and browse for the report file (.rpt) that you want to display. Alternatively, you can use the OpenReport method of the component to load the report file at runtime.
If the report has parameters, you can use the ParameterFields property or the ParameterFieldInfo method of the component to set or get the values for them.
If you want to print or export the report, you can use the PrintReport or ExportReport methods of the component. You can also use the PrintMode or ExportMode properties to specify the options for printing or exporting.
Run the project and see the report on the screen using the TCrystalActiveXReportViewer component.
Conclusion
The Crystal ActiveX Report Viewer Library XI is a useful component that allows users to view, print, and export reports created with Crystal Reports XI. It can be used in various environments, such as web browsers, Visual Basic applications, Delphi applications, etc. Users need to install or download the library and reference it in their projects. Users also need to have access to
the report files or connect to a database that contains them. The library provides various controls and methods for interacting with
the reports and customizing their appearance and behavior.
If you want to learn more about Crystal Reports XI and its features, you can visit [this website] for more information and resources.
524038ac18