FastReport .NET and Visual Studio 2017

2017-08-21

In this article, I would like to do a test of compatibility of FastReport .Net and the latest version of MS Visual Studio Enterprise 2017.

In the function of the first test, I will create a simple application in WindowsForms. Then, I will add the Report component and launch a report in the designer.

First of all, you need to add FastReport components into the Toolbox.

To do this, open the Toolbox, and right-click on it. In the context menu select "Add Tab":

 FRVS2017

I named the tab "FastReport". Now you need to add components to this tab. Right-click on the tab. Select the “choose items“ from the context menu:

 FRVS2017 2

There will a window of components selection for the toolbox appear:

FRVS2017 3

Click the "Browse" button:

FRVS2017 4

Then, select the libraries FastReport.dll and FastReport.Web.dll from the folder "FastReports/FastReport.Net/Framework 4.0".

 FRVS2017 5

FastReport.Net components have been added to the tool palette.

Drag the Report component and two buttons to the form:

 FRVS2017 6

Double-click on the first button, and add the following code:

1
2
3
4
5
6
private void button1_Click(object sender, EventArgs e)
 {
 report1.Load(@"C:\Program Files (x86)\FastReports\FastReport.Net\Demos\Reports\Text.frx");
 report1.Prepare();
 report1.Show();
 }

Here, we load a report into the Report object. Then, we build a report, and ,f inally, we display it.

Now double-click the second button, and add the following code:       

1
2
3
4
5
 private void EditReportBtn_Click(object sender, EventArgs e)
 {
 report1.Load(@"C:\Program Files (x86)\FastReports\FastReport.Net\Demos\Reports\Text.frx");
 report1.Design(); 
 }

Also, load the report into Report object, and call the editor for this report.

Now run the application and test it.

First, click the first button. This way, we are getting our report in preview mode:

FRVS2017 7

If you click the second button, the report designer will be launched:

FRVS2017 8

So, we are convinced, that FastReport.Net reports are built and run in the designer in the new version of MS Visual Studio 2017.

Now let us examine website reports. To do this, create an ASP.Net application, filled with examples.

Open a Default.aspx Web page and witch to a visual editing mode:

FRVS2017 9

 Now, drag a WebReport component on a Web page from the toolbox: FRVS2017 10

I deleted unrequired content from this page and left only the title and the report object.

In the upper right corner of the WebReport object there is a dropdown menu. Click it and select the Design Report.

 FRVS2017 11

In the Report Designer open the desired report and close the designer. The report has already got into cache. Now run the Web application:

FRVS2017 12

Well, a web report can also work in VS 2017 without any problems.

The article has increased our knowledge in the basic functions FastReport.Net, and all of them successfully work in the new version of Visual Studio. Summing up the results of the test in the article, it is possible to conclude, that there is a full compatibility of FastReport.Net 2017.1.18 and Microsoft Visual Studio 2017 RC Enterprise.

.NET .NET Visual Studio Visual Studio FastReport FastReport
October 13, 2025

New Features for Exporting Images to Microsoft Word in FastReport .NET

In the latest version of FastReport .NET we have added new image export features. Now you can independently adjust the balance between the quality and size of the final document.
October 13, 2025

How to Use Excel Formulas in a Report When Exporting to MS Excel

Starting with version FastReport .NET 2026.1, it is now possible to export formulas to Microsoft Excel. It is important to set up formula exports correctly and follow the syntax.
September 30, 2025

How to Install the FastReport .NET Report Designer with Pre-installed Plugins

Read the article as from version 2025.2.5 for FastReport .NET WinForms and FastReport .NET WEB allows you to install a report designer with all plugins without building dll files.

© 1998-2025 Fast Reports Inc.