Posted 18 March 2022, 10:25 pm ESTCurrently, all of our standard reports are in our VB.NET dll's, with the source in the RESX and VB files. Is there an easy way to change those over to the RPX file?
Changing how the reports are saved
Posted by: darin on 18 March 2022, 10:25 pm EST
Replied 20 March 2022, 10:30 pm ESTHello,
Please refer to the below documentation link to convert the code based section report to "rpx" file format:
Replied 20 March 2022, 10:56 pm ESTSo there isn't a way to do it quickly and for all reports from visual studio - only one at a time?
We are looking to change all of our standard reports from the resx/vb files to the RPX files and i was just hoping for a quick way without having to do each report by itself.
Marked as Answer
Replied 21 March 2022, 9:47 pm ESTHello,
Unfortunately, it is the only way to convert the code-based section report to 'rpx' format at the moment. If you have a large number of reports, you can convert the same at runtime and may use a loop to iterate through the names of the report and pass it in the below code snippet.
Dim rpt As New GrapeCity.ActiveReports.SectionReport()
Dim xtr As New System.Xml.XmlTextReader(Application.StartupPath + "\report.rpx")
Viewer1.Document = rpt.Document