[SOLVED] Crystal Report Viewer in Wisej Application

Answered
0
0
I write my wisej application in vb; I need to show my reports in crystal like as the crystalreportviewer in a form;
please  help me to solve the question cause I don’t know what can I do; if you give me an example its very good.
Many thanks
  • You must to post comments
Best Answer
0
0

Hi Guys,

Still struggling with Crystal Reports.

I am using VS2017 and Crystal Reports 13.0.24 (latest version)

I have no problem with creating reports and applying data to them etc. The issue is with the Crystal Reports Viewer – whatever I try I am unable to attach (or indeed reference) the crviewer. I know everything is installed correctly as I can open a new VS project and as I would expect the crviewer is available in the toolbox.

Unless I can attach the Crystal Reports viewer to a form then there is no way to display the report

Any help would be appreciated

  • edmond girardi
    Andrew -this is what I would do: Add the Crystal Viewer to a Plain old ASPX page. Create a class that will contain your report parameters and you can put that in the session. On the Page Load event of the of the “Report.aspx”- restore the WiseJ Session (see other posts about this) , extract the class from the session and get your report parameters – run the report as you would with any .aspx page based Crystal Report. I would check that the user is logged in as well in the page load, but I guess you can assume they are logged in if the class with the parameters is in the session. Then, add a html box to the WiseJ form and display the “Report.aspx” page within it. Thats how you can get it into a WiseJ form.
  • edmond girardi
    For reference if anyone is looking for the Free Developer version of Crystal Reports: https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads https://www.crystalreports.com/crystal-reports-visual-studio/ Note -the runtime for the server is a separate download (32 bit or 64 bit)
  • You must to post comments
1
1

Crystal has a Web Viewer – Used it extensively with Visual Web Gui,

What we use to do is store an object in the session with all the parameters we needed to pass to the report. Then, in an ASP box – we loaded a ASPX page that read the session object, assigned the parameters to the Crystal Report Object -and presto – displays in the ASPX box, or launches as a separate page – however you want to handle it.

  • Andrew Sanders
    Hi Edmond, I did exactly the same in VWG and have moved to Wisej but cannot get a version of the Crystal Viewer to work due to the Dot Net Frameworks being out of sync – by the look of it the minumun framework for Wisej is 4.5 and the maximum for Crystal is 4.0. Hence unable to get the two to operate in tandem over one specific framework
  • edmond girardi
    Have a look at this: Support for 4.5.2 has been available since SP9 and for 4.6 has been available since SP15. You can find the Supported Platforms document with this information here http://www.sap.com/documents/2016/06/f871031e-757c-0010-82c7-eda71af511fa.html. All of the .dll files you’re looking for are available in SP19. However, your application needs to be compiled with the same SP version of the SDK as the runtime you’re installing with your application. -Dell From this forum post: http://www.crystalreportsbook.com/Forum/forum_posts.asp?TID=22213&PN=1 I have not tried this yet as we have not migrated our VWG app yet that uses crystal reports. But it seems that it may be able to work.
  • You must to post comments
1
1

You can create a pdf and show it using the PdfViewer control. I don’t know if Crystal Reports has a web viewer.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.