Solved

No Editor Available VS 2010

Posted on 2014-09-26
8
1,451 Views
Last Modified: 2014-09-26
I am working a project that a previous employee did.
It was a project that was converted from VB6 to VB2008 to VB2010.
I can open the modules and I can view the code of the forms.

but when I go to view the forms I get a:
"There is no editor available for frmMain.vb
Make sure the application for the file type (.vb) is installed"

The file properties are:
Build Action - Compile
Copy to Output - Do no copy
Custom Tool - blank
Custom Tool Namespace - blank
File name frmMain.vb
Full path  {path is correct}

I have tried right clicking and used open with:
VB Form Editor (Default)
I've tried all of them listed and none will open the application.

I have found an older version of the solution and can open it, but it is not the latest greatest and
I don't know what is different about it. This is running production equipment and one of the tests
does not work with the older version.

what I am missing?
thanks,
0
Comment
Question by:Adam_930
  • 4
  • 4
8 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 40346065
it looks like you haven't install Visual Studio. Or that you only installed the C# portion of it.
0
 

Author Comment

by:Adam_930
ID: 40346092
Eric,
When I go to the Help - About it says I have Visual Studio 2010 Professional

Installed products:
 - MS Office Dev Tools, MS VB 2010, MS V C# 2010, MS V C++ 2010, etc

I can create, compile, build, a new solution
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 40346116
Is it possible that your solution/project has been converted to 2012 or 2013 or 2014? Open the .sln file in a text editor and check the version
0
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 

Author Comment

by:Adam_930
ID: 40346208
Both Solutions:
Gage.sln - the one I cannot open the forms on
Test.sln - the one I just created

both .sln files say there are MS VS Sol file, version 11.00
# Visual Studio 2010

Gage - Any CPU
Test - x86

When I go to the project properties, both are Application Type: Windows Forms Application
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 40346230
0
 

Author Comment

by:Adam_930
ID: 40346300
I saw where someone just rebuilt the project before opening any form up.
I tried this and I am now able to open my form.... but
the OLD application I can compile and do not get any errors or warnings.
the CORRECT application I can compile, but I get no errors but a number of warnings.
I am going to make my change and see if it works for me this time....
I will let you know.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 40346308
the joy of VS! sometime a Clean and Rebuild are fixing stuff we didn't suspect!
0
 

Author Comment

by:Adam_930
ID: 40346850
Well it ended up being more painful than hoped, but your reference issue was the target issue.
I was able to eventually get the form to open, modified and saved.
we are testing the changes.
0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question