And, after a user drills down and clicks the Close View button (the red X) in the Report Viewer, another confirmation message box appears, asking the user to confirm the closure. If the answer is No, the drill-down will be canceled. If the answer is Yes, the drill-down will occur. When the user drills down on a group, a confirmation message box appears, asking the user to confirm the drill-down. If the user clicks the Help button in the Report Viewer, a message box appears indicating Custom Help Goes Here. The Xtreme Orders sample application has only three simple examples of these capabilities. This is illustrated in Figure 27-5.īecause you can trap many events that occur during report processing and user interaction with the Report Viewer, you have tremendous power to customize your reporting application. When you select the Report Viewer object, you ll see a large number of design-time properties appear in the Properties box in VB. When you add the Report Viewer to a form (or when it s added automatically by the RDC), you ll see the outline of the Report Viewer appear as an object inside the form.
#Crystal report 10 viewer code#
You can execute extra code when any of these events occurs, or intercept the events and cancel them if you wish to not have the Report Viewer complete them. You can trap button clicks, drill-down selections, changes in the zoom level, and other events. In addition, the Report Viewer contains a flexible event model that will fire events as the Report Viewer performs various functions, or as a user interacts with it. You can design a completely separate user interface for page control, zoom levels, printing, exporting, and more. This allows you to make the Report Viewer show virtually no controls but the report itself, if you prefer. You may even perform all the functions from within code that the built-in toolbar buttons would accomplish. You can customize how the Report Viewer looks, what controls and toolbar buttons are available, and the Report Viewer s size. The viewer has many options, exposed by its own library, which will meld it more tightly into your application.
This default behavior uses just a fraction of the Report Viewer s capabilities. By default, the RDC will add the Report Viewer to its own form and add a small amount of code to supply the Report object to the Report Viewer and resize the Report Viewer whenever the form is resized.
so i am realy confused here.If you ve added the Report Viewer ActiveX component to your project, you have a great deal of flexibility in customizing the way the Report Viewer appears and behaves. In both sections Crystal Report Viewer is ENABLED. I also went into Manage Add-ons and saw that the crystal report viewer dll is in the section of downloaded ActiveX Controls and in the Add-on that have been used by Internet Explorer.
I just rebuilt the computer again and this time all i installed was XP SP2 and Office 2003, updated the system with all the MS updates and i still get the error messages. I have no clue as to what to do to correct this problem. I can go on my computer and i have not problem. I can not click there because of the popup that says "the Crystal ActiveX View." it keeps on poping up everytime i click OK. if you trust the website and the add-on and want to run, click here."
"This website wants to run the following add-on "Crystal Web Reports broker" from the "Seagate software". "The Cyrstal ActiveX Viewer is unable to create it's resource object"Īlong with the yellow bar up at the top of the report screen that says I had to rebuild a computer system for a user and now when I test everything out to make sure everything is working for the user, I am getting this error message when I try to open up a report in the Crystal Report Viewer.