Flexreport vs. Report

Posted by: Klaus.Unterforsthuber on 25 February 2024, 9:04 pm EST

  • Posted 25 February 2024, 9:04 pm EST

    I want to change from the old Report to the Flexreport (4.8). Now my program uses the following VB-code:

    ppv = New PrintPreviewDialog

    pd = New PrintDialog

    Create a Report and Subreport in 2 Subroutines

    Call RenderFarbMaster()

    Call RenderFarbDetails()

    ppv.Document = ReportFarbMaster.Document

    pd.Document = ReportFarbMaster.Document

    If pd.ShowDialog = DialogResult.OK Then

    ppv.WindowState = FormWindowState.Maximized

    ppv.ShowDialog()

    End If

    If I change to Flexreport, which commands must be used.

  • Posted 26 February 2024, 5:21 pm EST

    Hi Klaus,

    For C1Report, the C1PrintPreviewControl and dialogs were used to view and interact with the reports. However, for C1FlexReport, we have a new C1FlexViewer control for viewing and interacting with the reports. The FlexViewer provides the page layout, print, export, and other useful features for the FlexReport.

    Please see the attached sample project showing a simple implementation of the same - ReportViewerSample.zip

    You can also refer to the documentation of FlexReport and FlexViewer for more details.

    https://developer.mescius.com/componentone/docs/win/online-flexreport/overview.html

    https://developer.mescius.com/componentone/docs/win/online-flexreport/flexviewer.html

    Best Regards,

    Kartik

  • Posted 29 February 2024, 4:22 am EST

    This example https://gccontent.blob.core.windows.net/discourse-forum-uploads/file-5ae2c2eb-84b2-48e0-9e58-6065958a485f.zip does not work. I neede a simple example for VB.NET. Is this possible.

  • Posted 29 February 2024, 2:00 pm EST

    Hi Klaus,

    Is there any specific issue that you are facing while running the project? Also, we have attached the same project in VB .NET

    ReportViewerSample_VB.zip

    Best Regards,

    Kartik

Need extra support?

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

Learn More

Forum Channels