on 06-19-2014 10:57 AM
Hello,
I am trying to use the Java Plugin Viewer with Crystal Reports, but I have some problems. The ActiveX Viewer works well, but as I want to use the reports in other browsers, I need the Java viewer.
I have a Visual Basic 6 application, and, instead of including SmartViewerActiveX.asp, I have included JavaPluginViewer.asp. I have taken this file from an older version of Crystal, and I am changing the values on it (I have done the same with the ActiveX Viewer, without problems). This is the main code of the file:
<OBJECT
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="100%"
height="100%"
codebase="/crystalreportviewers11/JavaPlugin/Win32/j2re-1_4_2_04-windows-i586-p.exe#Version=1,4,0,0">
<param name=type value="application/x-java-applet;version=1.4">
<param name=code value="com.crystaldecisions.ReportViewer.ReportViewer">
<param name=codebase value="/crystalreportviewers11/JavaViewer/">
<param name=archive value="ReportViewer.jar">
<param name=Language value="en_US">
<param name=ReportName value="RDCrptserver11.asp">
<param name=CanDrillDown value="true">
<param name=HasExportButton value="true">
<param name=HasGroupTree value="true">
<param name=ShowGroupTree value="true">
<param name=HasPrintButton value="true">
<param name=HasRefreshButton value="true">
<param name=HasTextSearchControls value="true">
<param name=HasZoomControl value="true">
<param name=HasSearchExpert value="false">
<param name=HasSelectExpert value="false">
<param name=ShowLogo value="false">
</OBJECT>
I know how to change all the values of this object so it works with Crystal2008 except one: the codebase.
I have gone to IIS, and under the virtual folder "crystalreportviewers12" I don't see any JavaPlugin folder, there's only the JavaViewer folder, and there isn't any .exe inside...
So, where can I find the .exe for the codebase?
I have tried searching the web for a tutorial or something, but I haven't seen anything for Crystal 2008.
Can anyone help me?
Thank you very much!
This is so wrong, I don't even know which forum this would belong to ( I think I'll move it to the topic Space...
Let's start with this:
I have taken this file from an older version of Crystal,
Don't mix versions. It will not work. Period
Next re:
I don't see any JavaPlugin folder,
If you want a Java solution, I'd recommend using CR for Eclipse which you can download from here:
SAP BusinessObjects - SAP Crystal Reports, Version For Eclipse Download
I would then recommend having a peek here:
Developer Help File is here:
https://help.sap.com/javadocs/cr/xi/jrc/en/overview-summary.html
Finally, I'm not sure what references you are making in your VB 6 app, but there is no SDK in CR 2008 that supports VB 6.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.