Visual Studio 2019 VB Form don't open again - vb.net

My project/solution of VS (VB) 2019 I was able to edit and publish till date. But now after uninstalling Visual Studio 2017, one of the form of my solution do not open and gives me error message:
There is no editor available for XYZ.vb (my Form file name with full
path). Make sure the application for the file type (.vb) is installed.
I am able to open all other forms other then one in the same solution.
What and where can be the problem?

Related

Cannot run Excel Add-In from Visual Studio 2019

I have Visual Studio 2019 16.8.2 and I have installed the Office Development tools from Visual Studio Installer. I then created an Excel Web Add-In project and when I try to run the project, I get this error:
In the output window, there isn't much useful info:
Excel is of course installed, I have the following version:
Could there be some form of Compatibility issue? or maybe something in the Visual Studio Version?
I tried to check online but couldn't find anything related to this.
The problem is that you should not Visual Studio as administrator. When running as Admin it results in the error. Running as not admin works correctly.

VB Project unavailable once solution opened in Visual Studio 2010

I have a VB.NET project under Visual Studio 2010.
Each time I open the solution (which contains only one vb.net project), the solution explorer populates with the associated projects but appends "unavailable" next to the project name. Also, it appends "0 projects" next to the solution name.
Every time I right click and reload the project, it reloads quickly and then reverts back to unavailable.
Whats happens? I have tried to open VS 2010 in administrator mode and I get the same result.
However, If I open a command line prompt window as administrator and from that command line I launch VS 2010 in safe mode using below command:
devenv /safemode
... and then once VS 2010 opened I open the solution, it works.
So what's the problem?

Missing Microsoft RDLC Report Designer in Visual Studio

In Visual Studio 2015, I cannot find the designer for RDLC reports anymore. Does anyone know if this is only a bug and if it is provided later on or if Microsoft wants to kill the RDLC or if they want us to use an external designer and when, which designer this is?
Update
For developpers searching for the RDLC Report Designer in Visual Studio 2017,
it must be now downloaded from the Visual Studio Marketplace
Visual Studio 2017 and newer
The RDLC Report Designer can be found on the Visual Studio Marketplace:
for Visual Studio 2022
for Visual Studio 2017 - 2019
Besides that, the ReportViewer Control, which is the runtime requirement for showing reports in ASP.NET or Windows Forms Applications, is now available through NuGet. See here for details.
Visual Studio 2015
The Report Designer is part of the Microsoft SQL Server Data Tools.
You can add it using the Visual Studio setup (Programs and Features > Visual Studio 2015 > Change)
In VS 2017, i have checked SQL Server Data Tools during the installation and it doesn't help. So I have downloaded and installed Microsoft.RdlcDesigner.vsix
Now it works.
UPDATE
Another way is to use Extensions and Updates.
Go to Tools > Extensions and Updates choose Online then search for Microsoft Rdlc Report Designer for Visual studio and click Download. It need to close VS to start installation. After installation you will be able to use rdlc designer.
Hope this helps!
Open Control Panel > Programs > Programs and Features
Select the entry for your version of Microsoft Visual Studio 2015. In our case, it was Microsoft Visual Studio Enterprise 2015.
Click the "Change" button on the top bar above the program list.
After the splash screen, a window will open.
Press the "Modify" button.
Select Windows and Web Development > Microsoft SQL Server Data Tools, and check the box next to it.
Press the "Update" button on the lower-right hand side of the window.
Once the installation is complete, open your version of Visual Studio. After the new .dll files are loaded, Reporting functionality should be reimplemented, and you should be able to access all related forms, controls, and objects.
Visual Studio 2017
Open Visual Studio
In Tools -> Extensions and Updates -> Online
Search for 'rdlc'
Install Microsoft Rdlc Report Designer (23.3 MB)
Close Visual Studio, let the installer run and open Visual Studio to see the rdlc in the designer.
I had the same problem, after install the MS VS Community 2015, I didn't find the RDLC files neither the Report Viewer component, I solve the problem by going in the Control Panel (Windows) -> Programs -> Try to uninstall the MS VS Community and choose MODIFY, in this moment you will be able to Check the Microsoft SQL Server Data Tools.
That is it!
In addition to previous answers, here is a link to the latest SQL Server Data Tools. Note that the download link for Visual Studio 2015 is broken. ISO is available from here, links at the bottom of the page:
https://msdn.microsoft.com/en-us/library/mt204009.aspx
MSDN Subscriber Downloads do not list the VS 2015 compatible version at the time of writing.
However, even with the latest tools (February 2015), I can't open previous version of .rptproj files.
I've had the same problem as you and I installed Microsoft rdlc designer to solve my problem.
And if you already installed this but still can't found rdlc designer try open visual studio > tools > Extension and Updates > then enable Miscrosoft Rdlc designer extensions.
If you did a custom installation you need to add Microsoft Sql Server Data Tools. After that you can add Reportviwer to your webform.
To solve this problem open nutget package manager console and select your project and type install-package microsoft.report.viewer and wait to install
The setup feature does not work on Visual Studio 2017 and later versions.
The extension needs to be downloaded from VS Marketplace and then installed -
Link
The same applies to other extensions such as Installer Projects (used for creating executable files) - Link
Below Different tools for Editing Rdlc report:
ReportBuilder 3.0 : Microsoft Editor for Rdlc report.
Microsoft® SQL Server® 2008 Express with Advanced Services: Another tool is to use Sql Server Business intelligence for reporting that can be installed with Sql Server Express with Advanced Sevices.
fyiReporting: It is opensource tool presented for editing Rdlc reports .
This trouble passed me. If you can't repair this trouble, perhaps can you review all Framework versions that you have in your system. For example, if you have ReportViewer for Framework 4.5 and your project is assembly in Framework 2 or another Framework minor at 4.5. The differents versions Framework sometime have problems.
Use Extensions and Updates.
Go to Tools > Extensions and Updates > choose Online then search for Microsoft Rdlc Report Designer for Visual studio and click Download.
It needs to close your VS to start installation.
After installation you will be able to use RDLC designer.

How to use ReportViewer 2012 in Visual Studio 2013 (WinForms/Wpf)

I would like to upgrade a project which uses RDLC to create reports. The solution uses Report Viewer 2010SP1.
I installed successfully the report viewer 2012 runtime, however the component does not appear in the add references windows of visual studio.
I also checked the NuGet-Packages and there I found a “Report Viewer”-package 11, but while installing this version, only the web-component but not the WinForms-component has been installed.
On the web I have seen some workarounds changing the registry, but is it really necessary to manually change the registry to have this done?
One way, probably not the best, is selecting the component directly with the "browse"-option.
In the “Add Reference” dialog, browse to “\Program Files (x86)\Microsoft Visual Studio 12.0\ReportViewer” and select there the component "Microsoft.ReportViewer.WinForms.dll"

How to remove an already-installed Visual Studio 2013 extension .vsix file?

I've just installed Productivity Power Tools 2013 for my Visual Studio 2013 and then playing with the option of this extension and I get crashed :-(
i.e.
The Solution Explorer window is now empty.
Cannot exit Visual Studio
Going for Tools - Extension and Updates fails too
What can I do to get back to where I was >.<
Find the correct folder under following folders for this extension and delete it
C:\Users\[username]\AppData\Local\Microsoft\VisualStudio\11.0\Extensions
C:\Users\[username]\AppData\Roaming\Microsoft\VisualStudio\11.0\Extensions