CrystalReportViewer 10.0 vs Crystal ActiveX Report Viewer 10.0

<p>Can someone give me a brief pros and cons of using 1 versus the other.  Is the CrystalReportViewer just a wrapper for the Active X Component (with limitations).</p><p>&#160;</p><p>This pertains directly to trying to capture (using the CrystalReportViewer) when a report is finished loading (in a VB.NET 2003 Application) that has a long running Stored Procedure.  Viewer loads and events are finished but Report isn&#39;t shown for a minute as the stored procedure runs - trying to capture the event that finishes?</p><p>&#160;</p><p>Thanks!</p>

Hello,
the crystalviewer object model has the following 3 events which might help you here :
AfterRender, AfterRenderContent and AfterRenderObject.
Please use the link below to get more documentation from our search engine:
https://boc.sdn.sap.com/search/node/AfterRender
Falk

Similar Messages

  • Crystal ActiveX Report Viewer Control 12.0 Installer

    Crystal ActiveX Report Viewer Control 12.0 Installer
    Hi, i need to install the activex control into every single client pc. I know ie browser is supposed to download it at the very first time when it hits crystal report page, but due to certain restriction applied to client pcs, this feature is blocked.
    Does anyone have Crystal ActiveX Report Viewer Control 12.0 installer ? How can I install it on the clients pc ?
    Thanks a lot!

    Copy the PrintControl.cab from the server location u201C<installation drive>\Program Files\Common Files\Business Objects\4.0\crystalreportviewers12\ActiveXControlsu201D to the client machine. Then Extract the PrintControl.cab. Then register (regsvr32) the printcontrol.dll.
    - Ludek

  • Crystal ActiveX Report Viewer Controlのインストールについて

    皆さん、こんにちは。
    クリスタルレポートXIR2をASP(ASP.NETではない方です)で
    表示しているのですが、クライアント側のブラウザにおいて
    ActiveXのCrystal ActiveX Report Viewer Control 11.5のインストールに失敗したり、
    インストールできてもうまく動作しなかったりする事があるのですが、
    うまくインストール出来なかった場合の対処法・再インストール方法などは、
    ありますでしょうか?
    ご教示下さい。宜しくお願いいたします。
    利用形態:ASPを使ったブラウザ上への帳票表示
    [サーバの環境]
    windows 2003 server R2
    Crystal ReportsXI R2 SP6
    DB:oracle10g
    開発言語:ASP
    [クライアントの環境・ブラウザ]
    WindowsXP SP3 +IE6
    Windows7 32bit +IE8


    Edited by: tamayyy on Nov 22, 2011 4:15 PM

  • Crystal ActiveX Report Viewer Control 11.0 not exporting to excel

    I have a wierd problem, I have crystal report XI R2 installed on the server. Client when login on the my application gets prompt to install the activx control; installing of which the report is opening fine.
    Whenever the user clicks on the "Export to" button on the activeX and selects excel; the export dialog box just hangs. All other export option pdf, word, rtf are working fine except Excel.
    Can someone help me in this....

    Hello,
    This was a known issue which was solved with the Service Pack 2
    https://bosap-support.wdf.sap.corp/sap/support/notes/1205451
    So I recommend you to upgrade your version of CR XIR2 to at least SP2.
    Regards,
    Philippe

  • How Can I create a SAP form that contains activeX report viewer?

    I'm trying to create a SAP form that contains a ActiveX control to view a Crystal Report. Can anyone Help?
    Thanks,
    Ezequiel.

    Thanks Ludek, I use this a sub to create a report document and report viewer in sap bussines one form.
    Running this code shows the sap business one form with the report viewer but then closes SAP Business One Application.
    which may be the problem?.
    Private Sub CreateFormWithActiveX()
        Dim CP As SAPbouiCOM.FormCreationParams
        Dim fTree As SAPbouiCOM.Form
        Dim AcXTree As SAPbouiCOM.ActiveX
        Dim oItem As SAPbouiCOM.Item
        Dim CRapp As CRAXDDRT.Application
        Dim CRRep As CRAXDDRT.Report
        'Dim CRepDoc as
        ' Set the form creation parameters
        CP = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
        CP.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Sizable
        CP.FormType = "ACXTree"
        CP.UniqueID = "ACTree1"
        fTree = SBO_Application.Forms.AddEx(CP)
        fTree.Left = 10
        fTree.Top = 10
        fTree.Width = 800
        fTree.Height = 600
        fTree.Title = "Crystal Report Viewer - Argentis"
        fTree.AutoManaged = True
        ' Add the TreeView Control to the form
        oItem = fTree.Items.Add("Tree", SAPbouiCOM.BoFormItemTypes.it_ACTIVE_X)
        oItem.Left = 1
        oItem.Top = 1
        oItem.Width = 800
        oItem.Height = 600
        ' Create the new activeX control
        AcXTree = oItem.Specific
        CRapp = New CRAXDDRT.Application
        CRRep = CRapp.OpenReport("C:\Projects\Crystal Report ActiveX Viewer\Crystal\Indumetaria\Reportes\ARInvoiceMatrix_portrait.rpt", 1)
        'CRRep.RecordSelectionFormula = "{OINV.DocEntry} = {?doc_num}"
        For i As Integer = 1 To CRRep.Database.Tables.Count
          Dim ConnectionInfo As CRAXDDRT.ConnectionProperties
          ConnectionInfo = CRRep.Database.Tables(i).ConnectionProperties
          ConnectionInfo.Delete("Integrated Security")
          ConnectionInfo.Delete("Provider")
          ConnectionInfo.Delete("Data Source")
          ConnectionInfo.Delete("Initial Catalog")
          ConnectionInfo.Delete("User ID")
          ConnectionInfo.Delete("Password")
          ConnectionInfo.Add("Provider", "SQLOLEDB")
          ConnectionInfo.Add("Data Source", "Ezequiel")
          ConnectionInfo.Add("Initial Catalog", "SITKA")
          ConnectionInfo.Add("Integrated Security", 0)
          ConnectionInfo.Add("User ID", "sa")
          ConnectionInfo.Add("Password", "sa2005")
        Next
        AcXTree.ClassID = "CrystalReports102.ActiveXReportViewer.1"
        'oTreeView = AcXTree.Object
        oViewer = AcXTree.Object
        oViewer.EnableToolbar = True
        oViewer.EnableStopButton = True
        oViewer.EnableSelectExpertButton = True
        oViewer.EnableSearchControl = True
        oViewer.EnableRefreshButton = True
        oViewer.EnableProgressControl = True
        oViewer.EnablePrintButton = True
        oViewer.EnablePopupMenu = True
        oViewer.EnableGroupTree = False
        oViewer.DisplayGroupTree = True
        oViewer.ReportSource = CRRep
        oViewer.ViewReport()
        fTree.Freeze(True)
        ' Make the form visible
        fTree.Visible = True
      End Sub
    Regards.

  • Crystal Reports 2010 and activex report viewer.

    I have an application built using VS 2010, and the matching crystal reports.  However, the application includes legacy VB 6 components, and they are also used to generate reports.
    Up until now everything has been fine, and the setup kits we build distribute the single crystal runtime required.  Now I have discovered that CR 2010 does not allow us to distribute the activex viewer, crviewer.dll, and it isn't installed with the runtime.
    I have spent a huge amount of time updating the vb6 projects to reference crviewer.dll version 13, since it is supplied with Crystal for VS 2010, only to find out that we are not allowed to use it
    If we're not allowed to distribute it, and the runtime doesn't install it, why do we have it?
    What workaround can anybody suggest?  I don't really want to have to distribute 2 runtimes (2008 and 2010), and I don't want to have to undo all the changes I've made to the vb6 stuff (this really is write-only code).

    Unfortunately, the answer I have for you is most likely one that you do not want;
    Lots and lots of info on the RDC and VB6 and .NET on this web site (use the search box in the top right corner of this web page). There are KBs, Wikis and Blogs that I personally created. In a nut shell, the RDC was retired in version CR XI R2 (11.5). E.g.; two versions ago. While you will find the crxddrt.dll and crviewer.dll included with CRVS2010, these are for internal purposes and you are not licensed to use these (craxddrt.dll was a special license only in any version of CR). Your only option is to rewrite the code using the CR .NET SDK. As for the resources available on this website. See the following small sample;
    Use of the Report Designer Component (RDC) in VS .NET
    Report Designer Component - Past, Present & Future
    Short history and resources for Crystal Reports Software Developer Kits (SDK)
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Crystal XI Report viewer and Parameters

    Post Author: mnichols1202
    CA Forum: General
    This one is killing me.
    I have a report connected to a SQL 2005 backend.  One subreport. one Parameter.
    I set up the report object (login to the db...set the parameter...etc.)
    If i do a crReportDocument.PrintToPrinter(1, False, 0, 0)  - report prints, works fine ....beautiful.
    Now, I do the exact same thing Same code same evrything except at the end i do this.
    Me.CrystalReportViewer1.ParameterFieldInfo = crReportDocument.ParameterFields
    Me.CrystalReportViewer1.ReportSource = crReportDocument
    The report ignores my parameter and displays the entire recordset!
    No prompts for a value - and if i break..  after
    Me.CrystalReportViewer1.ReportSource = crReportDocument i can see that the paramter has the correct value in it.
    Doesn't seem to mater if its set to a defaultvalue or currentvalue - tried em both - neither works.
    Someone please point me in the correct direction?
    Thanks, Mike
    Oh and it's VS 2005 - vb.net - !

    Hello Julian
    This thread being 4 years old, I'd recommend that you create a new thread. Specify the following:
    Exact version of CR (e.g. CR XI or CR 2008 is not good enough)
    Version of .NET used
    OS
    Is this issue on your development computer or after you deploy the app?
    Database and database connection method
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • Problem on using Crystal Report Viewer on windows application ("specified type is not valid ")

    Hi
    I am having problem on using Crystal Report Viewer on one of my windows application.
    I am not sure how to put the Crystal Report Viewer 11 Control onto the tool box.
    I could found a Crystal Report Viewer control on my computer, but it is version 8.5.
    I have also found another one which is Called Crytal ActiveX Report Viewer, i don't think it is the one I can use. As when I try to load a dummy report on to the Crytal ActiveX Report Viewer, It return an error. "specified type is not valid"
    Please see the Code sample below.
    private sub loadReport()
         Dim r as New ReportDocument
         'v is the name of the Crystal ActiveX Report Viewer Control
         r.Load("C:\Report1.rtp")
         v.ReportSource(r) <---It throw error on this line.
    End Sub
    Could you give me some advice about what have I done wrong, How to check if I have set up the Crystal Report Component correctly in my Visual Studio 2005 Standard edition.
    Thanks in advances.
    Many thanks
    Chi

    VS 2005 Standard and Express editions do not come with Crystal Reports; only the Professional and higher editions will have CR bundled. However, I believe you can purchase CR XI R2 Developer and it will give you the components you need to create a VS .NET 2005 application using the Standard edition.
    -MJ

  • Crystal ActiveX 11.5

    Post Author: Camille
    CA Forum: General
    Can you please tell me the difference in Crystal ActiveX Report Viewer Control 11.5 COM component and Crystal Report Viewer 11.5 .Net component? My application is a Windows application using VS2005.
    Thanks!

    Hmm. I don't know how these things appear in LANSA. But maybe relating it to VB may help. In VB, the craxdrt.dll is seen as:
    Crystal Reports ActiveX Designer Runtime Library 11.5
    The registry key (not sure if htis will be of any help...) craxdrt.dll of version 11.5 is under:
    HKLM\software\classes\CLSID\{0BC59388-6740-4D7E-B7D9-B5F20EEABDCD}inprocserver32
    Another thing to try is code along the lines of:
    Create the CR Object loCr = CREATEOBJECT("CrystalRuntime.Application";)
    The above is for Foxpro, but it may give you an idea.
    In C++ the code is something like this:
    #import "c:\program files\business objects\common\3.5\bin\craxdrt.dll"; no_namespace
    One other thing. In a "water  cooler" type of discussion, someone mentioned that LANSA is an OEM partner. Perhaps contacting them directly may also help.
    Oh, and all of the above assumes that craxdrt.dll is actually insalled... Check in c:\program files\business objects\common\3.5\bin\ to make sure it is there. If it is, re-registering it may be a good idea too.
    Ludek

  • Crystal reports viewer activex and caching?

    We are embedding the activex report viewer component in one of our pages. It then runs and renders a report. It would appear that it is hitting the database once to pull the full dataset, but is actually caching the dataset, and fetching a page at a time. Is this correct behavior? Can it be changed?

    Hello, Henry;
    In a web application all of the Crystal Reports files and data handling are on the server.
    The ActiveX viewer will handle post back for the pages but all of the data is retrieved and stored on the server so preparing each new page will be handled by the server.
    The behaviour is correct and cannot be changed.
    A workaround would be to export to pdf on the server and redirect to the browser as one document.
    Elaine

  • VB6.0 Crystal Report Viewer development

    <p>Making progress working with Crystal XI report viewer in VB6.0 but sure would like a book.  I have managed to add code in a button to run two reports.  Each report using the same crystalreportviewer  object.  One of the reports has a selectrecordformula.  It will error out sometimes but I dont&#39; understand why.  THe value is the same.  Is this a bug or is it just my lack of knowledge.  I click the button and if both reports have been selected(checkboxes used) and there is a count (count with each checkbox) then the bot reports worked.  After printing just the first report (has parameters but no formula) then go back and request both by clicking on checkbox the second one errors out.</p><p> Error  Message &#39;Basic syntax is not supported in group or record selection formula&#39;.  If this is not valid syntax why does it work sometimes and not the other.</p><p>&#160;</p><p>Also need to know how to select printer without using .viewprint.  I am using </p><p>Call objReport.PrintOut(False, numcopies, True, 1, 999) for printing.  THe user does not want to see each report.  They only need to select printer.</p>

    Joshua has a good resolution for the selection formula. I also believe that the latest SP for CR XI will resolve the issue. As to selecting a printer:
    Report.SelectPrinter "printer driver name", "printer name", "port name"
    You could also display the standard printer setup dialog box as:
    report.PrinterSetup Me.hWnd
    Remember that every time you select a new printer, you have to reset all the non default print properties. E.G.; if the report was designed to use Landscape paper and the printer uses Portrait by default, you have to reset the report after selecting a new printer as:
    report.PaperOrientation = crLandscape.

  • Crystal Report Viewer

    This may not be the correct place to post my question, but I could not figure out the correct place, so please forgive me and just point me in the right direction.
    Our development software is called LANSA.  For those who don't know we'll just say it is comparable to VB as a programming language except the back end is the iSeries.  We have previously used Crystal 8.5 which of course has the .ocx (or maybe .dll - can't remember which now) which we identified to LANSA as an ActiveX Control and pulled reports up within a form containing the ActiveX.
    I have been searching the Internet for 3 days and have yet to find out how I can identify a 'viewer' (since there is no ActiveX) to LANSA; I cannot even find a viewer file name to use that I could possibly attempt to identify to LANSA.  It seems that everywhere I have looked already has something that identifies the viewer to the application.
    Can anyone point me in the right direction, please?
    Much thanks!

    Ludek,
    I've been looking at this off and on all morning.  I tried to backtrack to what file the ActiveX was using, but I cannot figure that out.  I'll tell you what I can and see if that's helpful. 
    When we use an ActiveX in this programming application, we identify it to the application by going to a list of ActiveX Components from within the software. It doesn't point to a specific file, but the Program IDs  that are currently used are CRViewer.CRViewer.8.0 and CrystalRuntime.Application.8.5, if that helps at all.  I do not see anything that refers to an RDC. 
    The only relevant ActiveX choice available for CR12 is Crystal Reports Print Control 12.0.
    There are some choices for 11.5, like an ActiveX Report Viewer Control, but I'm guessing that won't work for 12.0.
    I've also thought about the option of publishing it in IE with a Web Control (don't know anything about that either) and just letting them view it with a viewer, but I understand there are problems with that as well - such as not being able to update.
    It sounds like a viable option would be to "port the app and use the RDC" as you say, but again, I don't know anything about that.  We wouldn't really care about not being able to use the newer features for this - at least not now.  After all we are coming from 8.5!
    According to the documentation by LANSA (our developer software) regarding a 'fix' for the software:
    "EPC814 delivers one important alteration worth highlighting. In EPC814, LANSA Client has been enhanced to support the Crystal Reports 2008 Runtime Engine*, an engine which can execute reports developed in Crystal Reports XI and Crystal Reports 2008."
    LANSA Client is the medium between LANSA and Crystal Reports, but we've always bypassed that.  It's hard to get support from them on this because "it's a 3rd party software" they don't support.  You know that old "stuck between applications" when trying to get two of them to work together ("it's not our application - you need to talk to the other company").  And when you have an 'information' request such as this, you get relegated to the bottom of the pile. 
    Thanks so much for your help,
    Paula

  • How to hide the preview section in the crystal report viewer activex cntrl.

    Dear All,
    I am using the Crystal report viewer ActiveX to display the Crystal report. When the report opens in the Crystal report viewer ActiveX control, a preview section comes at the left hand side of the panel. How can I hide the preview section from the Report viewer control.Is it possible to customize the the report viewer control.  Awaiting for your suggestions.
    Thank you.
    Regards,
    Rahaneef

    Just to get the terminology correct. I believe you are meaning the Group Tree(?).
    Vb Code:
    CrystalActiveXReportViewer1.DisplayGroupTree = False.
    Also, do consult the developer help file;
    C:\Program Files\Business Objects\Crystal Reports 11.5\Help\en\rdcsdk_com_dg_doc\doc\rdcsdk_com_dg.chm
    Ludek

  • Crystal report viewer from portlet

    Hi,
    I have a problem with opening Crystal report viewer from portlet. I am using Spring portletMVC but this doesnt matter in this case. After clicking some button a controller process form in method where is access to ActionRequest, ActionResponse. But how can I "redirect" with some parameters to plain JSP page where I can write something like this:
    CrystalReportViewer viewer = new CrystalReportViewer();
         viewer.setReportSource(rcd.getReportSource());
         viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
         viewer.dispose();
    Oh, perharps is understandable, sorry for my English and thanks for helping. Any code of link would be wonderful.

    I haven't worked with Crystal Reports in quite awhile, but in the past I've written code to launch Crystal Reports using OLE. If I recall correctly, there existed an ActiveX control that could be embedded into VB forms, and the like. I'm unsure, however, whether they continue to support this mechanism. Given that your requirements do not allow CLIENT_HOST or DDE, however, I am guessing that OLE automation would also be unacceptable.
    Have you looked at WEB.SHOW_DOCUMENT?
    Eric Adamson
    Lansing, Michigan

  • Crystal Report Viewer ActivX Control into an SAP Form

    Hi
    I need to show an Crystal Report Viewer in a SAP form This code show an blanck from.
    I know that only ATL activX are supported by SB1, but I don’t have more information about the Crystal ActivX.
    Dim oFormTST As SAPbouiCOM.Form
    Dim oCreatP As SAPbouiCOM.FormCreationParams
    oCreatP = oApp.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
    oCreatP.UniqueID = "TEST"
    oCreatP.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Sizable
    oCreatP.FormType = "TESTFtype"
    oFormTST = oApp.Forms.AddEx(oCreatP)
    Dim oItemX As SAPbouiCOM.Item
    Dim oActivX As SAPbouiCOM.ActiveX
    oFormTST.Height = 400
    oFormTST.Width = 400
    oItemX = oFormTST.Items.Add("TEST01", SAPbouiCOM.BoFormItemTypes.it_ACTIVE_X)
    oActivX = oItemX.Specific
    oActivX.ClassID = "CrystalReports11.CrystalReportViewer.1"
    Dim oRep As CrystalDecisions.Windows.Forms.CrystalReportViewer
    oRep = oActivX.Object
    oRep.ReportSource = "E:\DevLoc\App\bin\FICHETECH.rpt"
    oItemX.Height = oFormTST.Height
    oItemX.Width = oFormTST.Width
    oFormTST.Visible = True
    Some one as an idea ?
    Thks

    Vishal,
    I would like to let you know of an SBO addon that we have created called CrystalWave. This addon integrates Crystal reports with B1. This might save you a some time trying to recreate the wheel. Please take a look at the following link:
    http://www.twbs.com/CrystalWave.html
    YOu can download a fully functional copy at http://www.twbs.com/selectcwversion.html
    This will work only on the SBODEMO_US company.
    Let me know if you have any questions.
    Gopal Viswanathan

Maybe you are looking for

  • Problem with statement after upgrading to 11g

    Hello, We recently upgraded to 11g from 9i and one of our statements we routinely use no longer works. The statement is: delete from ALLEMPLOYEES x where exists( (select * from ALLEMPLOYEES where email_id=x.email_id) minus (select * from X_ALLEMPLOYE

  • Set default printer in free Reader app for Windows 8?

    Is it possible to set a default printer for the free Reader app?  We're new to Windows 8.  We set our HP as the default printer in the windows control panel, and the setting works for our other programs like word and IE, but the Reader app forces us

  • Quotation marks look like " " in one InDesign document

    At my job I am updating an old InDesign file in CS5 with new content. Whenever I press the " or ' I get >> or > (not exactly, but it's a symbol that looks very similar to  >> or >). I have never had this problem and can't understand why it is doing t

  • How to update 2 TransformGroup at exactly the same time?

    Hi all, In my 3D scene, I would like to apply transformation to my shapes at the same time that my eye point is moving; for example, just like in car racing games where your car is always visible in front of you, and your eye point and lookAt point c

  • Installation stops

    I try to re-install Lightroom after i removed it. But the installation stops @ 42%. I get this msg; Exit Code: 7 Please see specific errors below for troubleshooting. For example,  ERROR:   -------------------------------------- Summary -------------