Convert .vb report to .rpx/.rpxl report

Posted by: shanna on 2 September 2020, 9:36 am EST

    • Post Options:
    • Link

    Posted 2 September 2020, 9:36 am EST

    I have some reports that I migrated to AR14 from AR6 that are shown as .vb files in the solution explorer. I’d like to get them converted to their .rpx/.rpxl equivalent. How do I do that? The Designer doesn’t recognize them and the Importer doesn’t have an option for them.

  • Posted 2 September 2020, 10:16 pm EST

    Hello,

    Please refer to the following link to save the file into the RPX file:

    https://www.grapecity.com/activereports/docs/v14/online/save-and-load-report-layout-files-rpx.html

    Hope it helps.

    Thanks,

    Mohit

  • Posted 3 September 2020, 1:30 am EST

    There isn’t a Report menu in Visual Studio 2019. Where is it supposed to be? How do I get it to show?

  • Posted 3 September 2020, 2:59 am EST

    Hello,

    Please refer to the “Report menu does not appear in the main menu of Visual Studio 2019” topic in the following link:

    https://www.grapecity.com/activereports/docs/v14/online/ar-troubleshooting.html

    Thanks,

    Mohit

  • Posted 3 September 2020, 3:20 am EST

    Got it. Thanks.

  • Posted 3 September 2020, 4:40 am EST

    Was able to create the .rpx file. When I deleted the old .vb file and added the new .rpx file to the project I am not able to reference the report in my code. in looking at the folder there is no .vb file for its code. How do I get the report class created?

  • Posted 3 September 2020, 3:55 pm EST

    Hello,

    RPX file does not have the Code base file. There is two type of SectionReport.

    1: Code-Based Section Report(.vb/.cs): These are code-based reports, and are saved as C# or Visual Basic files that are compiled into your applications. They have corresponding code views similar to Windows forms and provide a design and coding experience in line with Visual Studio. This format is ideal for developers who are comfortable with coding in .NET programming languages and would like to use the extensive event-based API provided by ActiveReports in the code-behind rather than design view. You may also use the scripts in the Script Tab instead of the code behind.

    2:XML-Based Section Report(.rpx): This is an XML-based proprietary file format that the ActiveReports engine can process without compiling it into an application. Instead of Visual Basic or C# code behind, you can customize the report with script embedded in the report XML using the Script Tab. You can also use an RPX file with script as a stand-alone file in a Web project.

    Please refer to the following link for more information:

    https://www.grapecity.com/activereports/docs/v14/online/xml-based-section-report.html

    https://www.grapecity.com/activereports/docs/v14/online/code-based-section-report.html

    Thanks,

    Mohit

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels