Friday, May 10, 2013

How to get MS ReportViewer control in VS Express. Solved

For Windows 7 and later
Visual studio 2013 Express and maybe also Visual studio 2012 supports ReportViewer control!

     
  1. Download and install MICROSOFT REPORT VIEWER 2012 RUNTIME from here (select the language): http://www.microsoft.com/it-it/download/details.aspx?id=35747
  2. Launch Visual Studio. In form design mode go to the controls toolbox>choose elements>clic on browse button>navigate C>windows>assembly>GAC MSIL>11.0.0.0__89845dcd8080cc91folder>Microsoft.ReportViewer.WinForms.dll. The same procedure for Microsoft.ReportViewer.WebForms.dll for webforms in Vs Express 2013 for Web>clic on it. You will see this new control (highlighted by the red arrow):
  3. Click on OK button in the window and the new ReportViewer control will appear in the toolbox. This control won't stay in the above list, but already is in the toolbox and will persist on it forever, ready to be employed.
    Notice: drag reportviewer on an empty form. After you can insert other controls and resize reportviewer
For Windows XP and previous
You have to download and install Visual Web developer 2008 Express and Vb.net Express 2008.
After you have done these installations you can download and install Microsoft Report Viewer Add-on for Visual Web Developer 2008 Express Edition from this webpage: http://www.microsoft.com/en-us/download/details.aspx?id=16682
To get ReportViewer control in your toolbox right click on it and select "Choose elements". Then select Microsoft.ReportViewer.WebForms.dll or Microsoft.ReportViewer.WebForms.dll, depending on which you need. Now click on OK button and Reportviewer control will appear in your toolbox.
Note: with  Vb.net Express 2008 you cannot use whatever firebird Net Provider. The only working firebird net provider client is FirebirdSql.Data.FirebirdClient 2.7.5.0. Download it from: http://galileo2007.altervista.org/downloads.htm, download n. 12

10 comments:

  1. Thanks for your informative article. Your pose helped me a lot to under the future in .Net mobile application development. .NET Training in Chennai

    ReplyDelete
  2. This technical post helps me to improve my skills set, thanks for this wonder article I expect your upcoming blog, so keep sharing...
    Regards,
    Python Training in Chennai

    ReplyDelete
  3. Thanks For explanation, It was great!

    ReplyDelete
  4. The path indicated in incomplete. The appropriate path is C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WinForms\11.0.0.0__89845dcd8080cc91 for the WIndows Forms control. Adjust accordingly for Webforms.

    The path indicated in the main article is missing the reference to the "Microsoft.ReportViewer.WinForms" folder which is essential to finding the correct DLL.

    ReplyDelete
  5. Thanks for the post. It was very helpful

    ReplyDelete
  6. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    Android Training in Chennai
    Ios Training in Chennai

    ReplyDelete