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
27 Kasım 2026, Cuma

FastReport .NET'te Data Dictionary Nasıl Kullanılır

FastReport .NET'teki Veri Sözlüğü'nü (Data Dictionary) keşfedin: rapor verilerini yapılandırılmış şekilde yönetmek için bir araç. Sözlükleri kullanıcı arayüzü üzerinden oluşturmayı, kaydetmeyi ve birleştirmeyi; ayrıca Load, Save ve Merge yöntemleriyle programatik olarak yönetmeyi öğrenin. Adım adım bir örnek ve C# kod örnekleri dahildir.
26 Kasım 2026, Perşembe

FastReport .NET ve FastReport VCL'de PDF417 Barkodu Oluşturma

FastReport .NET ve VCL'de PDF417 barkodunun nasıl oluşturulacağını öğrenin: ISO/IEC 15438 formatı, tasarımcı ayarları ve C# ile Delphi kod örnekleri.
25 Kasım 2026, Çarşamba

NativeAOT .NET'te: JIT ve Reflection.Emit olmadan dinamik C# betiklerini çalıştırma

NativeAOT'ta JIT ve Reflection.Emit olmadan C# betikleri çalıştırma: FastScript.NET, AOT uygulamalarında esnek iş mantığı için AST tabanlı yorumlayıcı.

© 1998-2026 Fast Reports Inc.