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
21 Eylül 2026, Pazartesi

FastReport .NET için Bir AI Aracısını Yapılandırma: Mimari, Sınırlamalar ve Rapor Taşıma

FastReport .NET için yapay zeka özelliği: Crystal Reports ve StimulSoft’tan raporların otomatik olarak taşınması, .NET 8/9 için yeniden düzenleme, şablon oluşturma ve veri sızıntılarına karşı koruma.
8 Eylül 2026, Salı

FP3 Formatı ile ilgili Sıkça Sorulan Soruların Cevapları

FP3 formatıyla ilgili 11 yaygın soruyu inceleyeceğiz: bu dosyaların ne olduğu, FR3 dosyalarından nasıl farklı oldukları, hangi programların bunları açabileceği ve PDF'ye nasıl dönüştürüleceği.
4 Eylül 2026, Cuma

FastReport .NET'ten bir raporu DXF formatına nasıl aktarabilirim?

Bu makalede, bir raporu DXF formatına aktarma yöntemlerini inceleyeceğiz ve ayrıca dosya bir CAD uygulamasında açıldıktan sonra elde edilen çıktının nasıl göründüğünü göreceğiz.

© 1998-2026 Fast Reports Inc.