Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add ReportViewer to Toolbox VB.NET 2013

I installed Report Viewer 2012 in VS 2013 (VB.NET), but it's not listed as an component in toolbox. Where is the location to reference the ReportViewer via browse, or how do I add the ReportViewer to toolbox?

I wasted all day trying to create a simple report.

Any help greatly appreciated.

like image 272
user3707554 Avatar asked Jun 15 '14 23:06

user3707554


1 Answers

Maybe this won't be useful to you anymore, but I hope it will be to someone else.

If you installed ReportViewer correctly on your computer, you must go to VisualStudio and right click on the toolbar (I recommend you do it on the General tab), and choose the option "Choose elements". Once there, check the .NET tab and look for ReportViewer on the list, and pick the one of the Microsoft.Reporting.WinForms namespace (there could be another one for WebForms, and that one you DON'T need in this case). That should do the trick.

EDIT: If you don't find the element, click on the Navigate button on the Choose elements dialog, and go to the next folder: C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.Common\11.0.0.0__89845dcd8080cc91 (the last folder may have a language acronym given by your language: en, es, fr, it, etc.). There, pick up the DLL that should load the component on your toolbar. For more info, check this link.

I hope this helps. Have a good day.

like image 183
Ignacio Téllez Avatar answered Oct 21 '22 14:10

Ignacio Téllez