Click here to Skip to main content
15,885,990 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello!

I am trying to get the report items in vb.net in visual studio 2022.

I have installed the RDLC extension for the 2022 version from Microsoft and able to see the Report and Report Wizard when I go to Project > Add New Item within my project.

However when I am in a regular Windows Form, I don't have the Report Viewer in my toolbox.

I currently have the Crystal Reports for VB installed and trying to move away from that as it is super buggy to use.

What I have tried:

In my toolbox I tried doing Show All to see if maybe I'm in the wrong project type or something. I don't see it in the list. I tried going to Choose Items in the toolbox as well and I don't see it under any of the different categories.

I tried reinstalling the RDLC extension, I also tried installing the earlier versions for my 2019 visual studio environment and I don't see it there as well. Seeing that its not working in either, I'm assuming I am missing a step but not sure what as I have watched multiple tutorial and online forums.

I installed directly from the extension store, made sure VS was closed, ran the download, and opened VS.

Thank you in advance for any help!
Posted
Updated 28-Feb-23 3:18am

I had a similar problem with another control, you may need to add the control to the toolbox manually.

This is what I did, hope it helps with your issue -

1.Open your Windows Form in the Visual Studio designer.
2.Right-click on the toolbox and select "Choose Items..." from the context menu.
3.In the "Choose Toolbox Items" dialog box, click the ".NET Framework Components" tab.
4.Scroll down the list of components until you find "Microsoft.ReportViewer.WinForms".
5.Check the box next to "Microsoft.ReportViewer.WinForms" to add it to the toolbox.
6.Click "OK" to close the dialog box.

You may also need to check that the correct version of the control is installed for your version of Visual Studio. You can do this by going to the "Add or Remove Programs" section of the Windows Control Panel and looking for the "Microsoft Report Viewer" entry to confirm the version.
 
Share this answer
 
Comments
Cody O'Meara 28-Feb-23 9:45am    
Thank you for your answer! However the control isn't in the .NET Framework Components tab under Choose items. Also when looking under the Add or Remove Programs, I don't see anything related to the Report Viewer. Even though its a pain, I think I'm going to try uninstalling my environment and start fresh.
Andre Oosthuizen 28-Feb-23 9:57am    
As mentioned above, it worked for me on a different control. Hope you are able to resolve the issue soon.
We are getting a bit tired of all those Crystal Reports problems, I would recommend using something else like this free and open-source reporting tool:
GitHub - FastReports/FastReport: Free Open Source Reporting tool for .NET6/.NET Core/.NET Framework that helps your application generate document-like reports[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900