Skip to Content
author's profile photo Former Member
Former Member

Upgradting from CR9 (VS2k2) to CRXI R2 (VS2k5)

I'm in the process of upgrading our application from CR9 to CRXI R2. At the past I was able to create an MFC class from the actual ActiveX viewer and thus able to create an instance of the viewer on my dialog. I'm attempting to do the same thing with the new version of the CRViewer ActiveX component but no such luck (no interfaces available in the "Crystal ActiveX Report Viewer Control 11.5<1.0>" control). I then attempted to add the same control Crystal ActiveX Report Viewer Control 11.5<1.0> on a new dialog and when I right-click to create a variable for the viewer control I get the error message "Extender Provider failed to return an Extender for this object."

Hope I made my self clear and thank you in advance for your response.

Sorry I added the question in the wrong forum. Please disregard this posting as I will repost it in the correct forum. Thank you.

Edited by: Harrys Odysseos on Oct 4, 2008 2:09 AM

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Oct 06, 2008 at 01:25 PM

    Hi Harry,

    I can move this posting which I have done to the Legecy forums.

    Thank you


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 06, 2008 at 01:32 PM

    Hi Harry,

    We renamed the viewer to CrystalActiveXReportViewer1. The easiest way is to simply map the Crviewer to CrystalActiveXReportViewer1. Or you can replace all references from the old to the new name.

    Also, the RDC has been deprecated, not longer shipped with CR 2008. I suggest you migrate your app to .NET framework and our CR .NET SDK.

    Thank you


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 06, 2008 at 01:52 PM

    Not sure if this will help, but this is an internal tip I've stored since version 10 of CR:

    how do you upgrade an RDC cpp app to v10?

    1) Open project

    2) go to Resource View and open your dialog with the crystal report viewer

    3) Delete the old viewer. If your computer only has version 10, this will show up as a blank activeX control, you may have also received an error message when you loaded the project 'activeX control could not be instantiated'

    4) Right click on the dialog and select 'insert activeX control'

    5) Select the Crystal ActiveX Report Viewer Control 10

    6) Resize the control how you would like

    7) Right click on the dialog and go to the class wizard.

    8) Select the 'member variables' tab.

    9) Delete the existing Viewer member variable. It will have the Control ID IDC_CRVIEWER1 or something similar. You can also check the type: CCrystalreportViewer9 or CCrystalreportViewer depending on the previous crystal report version you were using.

    10) Select the Control ID for the new viewer and add a member variable for it. It will tell you it needs to generate a c++ wrapper for it. Allow it to do this. You will need to name the variable.

    11) If you selected a different variable name than you were using originally, you will need to update the references to the viewer

    12) you must import the new craxdrt. IE:

    #import "c:\program files\crystal decisions\report designer component\craxdrt9.dll"; no_namespace


    #import "c:\program files\common files\crystal decisions\2.5\bin\craxdrt.dll"; no_namespace

    Only thing to watch for on the above; step (12) the file path would be "c:\program files\business objects\common\3.5\bin\craxdrt.dll";. Oh, and of course, line (5) changes to Crystal ActiveX Report Viewer Control 11.5


    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Harry,

      It would appear you are using the RDC with the old Activex viewer. For your info this is not supported, which is why you had to use VC 6 to build the TLH and TLI files, .NET does not build them, .NET issue.

      If you have issues we won't be able to fix them and we suggest you move the Managed assemblies and as the viewer control.

      Thank you


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.