שתף באמצעות


There is no editor available for ... VB 2010

Question

Tuesday, April 13, 2010 3:33 PM

There is no editor available for '<filename>'.

Make sure the application for the file type (.vb) is installed.

I got this message after I updated a VB08 project to VB10. I tried to open a form when this message was shown. It happens to every form in the group (but not standard classes). Can anyone help?

All replies (52)

Thursday, April 15, 2010 12:58 PM | 1 vote

Hi Jammyatjammy,

I am moving this thread from Base "Installing and Registering Visual Studio Express Editions" forum to the "Visual Basic General" forum, since the issue is related to VB. There are more experts in the "Visual Basic General" forum.

ThanksPlease remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.


Thursday, April 15, 2010 4:32 PM | 1 vote

I am moving this thread from Base "Installing and Registering Visual Studio Express Editions" forum to the "Visual Basic General" forum.

I was not sure myself which forum to put this in. Thanks!


Friday, April 16, 2010 12:38 AM

I'm not sure why or how this setting got corrupted, but you should be able to fix it. 

1.  In the Solution Explorer, Right click on a Form in you solution, and choose "Open With..."

2.  Select "Visual Basic Form Editor" from the list

3.  Click on the "Set as Default" button

4.  Click OK

That should fix it.

AdamBr [MS]


Friday, April 16, 2010 6:37 AM

I had the same kind of problems with VB10, can you open it with rightclick and then openwith?Success
Cor


Friday, April 16, 2010 3:18 PM

Adam, I have tried this, but there is no "Open With..." option from the Solution Explorer. I can open the code view, and the code view of any updated class; I just can't get the Form Designer.

P.S: I'm using the Express Edition.


Friday, April 16, 2010 3:26 PM

Express versions do not have Open With, because they do not have all of the editors available.

You might try opening the file with Notepad. .vb files are simply text files.

 


Saturday, April 17, 2010 3:51 PM

You might try opening the file with Notepad. .vb files are simply text files.

I can open the standard code files, but not the form designer. I can open the designer for any new projects also.


Tuesday, April 20, 2010 8:57 PM

I have the same issue with some applications I updated from VS 2005 to vs 2010 vb using .net 2.0 framework. 


Wednesday, April 21, 2010 6:24 AM | 1 vote

Jammytjammy,

In my idea is there a typo made, Solution Explorer is a part of Visual Basic Express IDE. Meant was probably Windows Explorer.

If you Form Designer is corrupted, then it is mostly because people have changed something in that, but it can have of course another reason.

You can try to copy the YourProgram.Designer.VB file from your previous version and drop that in the folder of the new one.

(After that you have made a backup of course)

Success
Cor


Friday, April 23, 2010 12:44 PM

I've also got this problem on VB2010 express.  I can open a module but opening a form gives the error.


Monday, April 26, 2010 6:50 AM

Any ideas on this one - its driving me mad. Almost ready to go back to VBE 2008 :(


Tuesday, April 27, 2010 5:50 PM

In my idea is there a typo made, Solution Explorer is a part of Visual Basic Express IDE. Meant was probably Windows Explorer.

I don't have that option in the Document Explorer either. The only options given are VB Express 2008 and VB Express 2010.


Sunday, May 16, 2010 5:52 PM

Im not sure if you still need help but I had this same problem but I figured out why Make sure the project name you have does not have any special characters just have letters or numbers in it.   So if you have a . a , a : a ' or other characters then it won't work.


Monday, May 17, 2010 6:52 PM | 5 votes

This issue was buggin' me for several hours after updating a VS2008 project to VS2010.

I finally decided to built the project in VS 2010 before opening forms. :) Worked fine after that.


Thursday, May 20, 2010 9:32 AM

I created a new Test Certificate for the project, and also checked references that were missing. Then this problem were gone for me.


Thursday, May 20, 2010 7:51 PM

Im not sure if you still need help but I had this same problem but I figured out why Make sure the project name you have does not have any special characters just have letters or numbers in it.   So if you have a . a , a : a ' or other characters then it won't work.

I have changed the root namespace so that it doesn't have an _. But it still doesn't work and I have the problem of having 3 warnings:

Could not resolve mscorlib for target framework '.NETFramework,Version=v4.0'.  This can happen if the target framework is not installed or if the framework moniker is incorrectly formatted.

Cannot find wrapper assembly for type library "OWC11".

The referenced component 'OWC11' could not be found.


Monday, September 6, 2010 1:46 AM

This happened to me when I had a Crash while the Code Complete window was open...

When I open the Form1.vb file in a text editor, all it has is a lot of NULL values in it. This is the reason for the error. The file was corrupted during the crash somehow. I had to re-create the form from scratch (the Form1.Designer.vb file was not corrupted however). The only problem is that any Form Specific code was lost during the crash.

I was relatively early in my project when it happened...so it only took about an hour to recover from the corruption, but if I had done a lot more code then I would have had serious problems.

I am using VS2010 VB Express, I have never experienced a problem like this with VS2008 Pro.

 

In summary, not much you can do except keep the Designer.vb file and recreate the form.


Monday, September 6, 2010 7:00 AM

Urieal,

Are you expecting somebody is watching this thread, it is from more than 5 months ago?

Success
Cor


Thursday, September 16, 2010 1:58 AM

That worked for me.

Thanks.


Thursday, September 16, 2010 2:56 PM

Are you expecting somebody is watching this thread, it is from more than 5 months ago?

Sometimes, people subscribe to the threads, so when an answer fails to come up that works for me...I post any solution I find.

 

Not to mention, if you have an error and Google it, then you will often get hits on the MSDN forums...if my post helps someone, then good.

I realized when I posted that the thread was 5 mo. old, but I just wanted to give the solution I found in case it helps someone else out down the road.


Thursday, September 16, 2010 2:57 PM

That worked for me.

If something worked for you, mark that post as an answer by clicking the "Propose As Answer" button at the bottom of the individual post.


Wednesday, September 22, 2010 9:06 PM

I can't remember how I fixed this problem, so unfortunately I can not mark any answers.


Sunday, October 10, 2010 12:31 PM | 9 votes

To solve that issue just check your reference and fix those that has "!". 

 


Monday, January 10, 2011 1:22 AM

To resolve the 'there is no editor available' error in Visual Basic 2010 Express, simply open Visual Studio 2010, create a new Windows Form Application then add the Forms from your project to the new application.


Sunday, March 6, 2011 10:47 AM

I have the same problem.

i have been able to reproduce the problem. It happens when i add a new control. In my case "msflexgridwizard" but i think any other could cause the same problem

Really i do not need this  control, just was investigating  and when was attempting to use it and gave me the error: "failed to import the ActiveX", from this point  the windows stop working in this project.

Certainly references file include a lot of  new references , even the guilty


Friday, April 8, 2011 9:06 AM

Hi all

i'm new to this forum and also to the world of programming in general.  I have started studying VB as part of my degree.

Anyway, I had the same problem for a day and finally managed to fix it.  I am running VS2010 Proffesional in a Windows 7 environment, and like you lot had the issue with the default form editor.

in the end i edited the Visual Studio Icon to run in compatibility mode and set the compatibility mode to Windows XP SP3. This worked first time for me hope it will for you too.

 

Amarjit Singh Devgun (Ammo)


Monday, April 18, 2011 1:19 PM | 1 vote

To solve that issue just check your reference and fix those that has "!". 

 

This worked for me.

 

Thanks.


Saturday, May 21, 2011 10:11 PM

Hi,

go in your VB Projects folder.

right-click the form

select "OPEN WITH"

and from the list of Programs select VB*

* You have to browse for the VB executable

Hope this helps.

Preveen


Saturday, July 16, 2011 5:17 PM

i have same problem when have to transfer my project to VB2010 from VB2008.

Then went i check the references, i saw that StdFormat(Microsoft Data Formatting Object Library 6.0 (SP4)) was always highlighted. So, i try to find the reference and replace the old one. Then, it was fixed!

 

 

 


Saturday, July 16, 2011 5:30 PM

I know this code was moved by a moderator but there IS a VB Express Forum.....

Renee


Sunday, October 2, 2011 8:39 AM

Tools -> Settings -> Reset

Will override any settings you may changed before, but you can do it again.

Adelino Araujo


Tuesday, November 15, 2011 9:08 PM

I experienced this problem when I added Crystal Reports!

I had to clean the referenses before it got to work for me. Be careful when you add new stuff to be sure that the refereses are on the right place.

Leif


Friday, January 6, 2012 8:06 PM | 2 votes

To solve that issue just check your reference and fix those that has "!". 

 

This happened to me also: related/additional notes related to this fix.

Solution Explorer

 --> Expand References

   --> Right click on the item with "Yellow Triange w/ "!" point"

    --> select "Remove"

Open the "Build" Menu at the top

  --> select: Rebuild "filename"

Double clicking on the from name in Solution Explorer would then open the from normally for me.

 

 


Sunday, February 5, 2012 9:06 AM

Just Right Click On the Your Project In Solution Explorer Then Click build And Check Problem Solve If Not With Same Way Rebuild It And Check If Not Solved Your Problem Then Go To Your Project Root Directory Where The Project *.sln(Solution) Are Placed Then Go to the (\Project named folder>\My Project) then drag the Resource.resx file oand Drop them to the Project in Solution explorer then try again to view form design


Friday, April 13, 2012 7:11 PM

This one worked for me.  I just removed those references and everything is back to normal.

Thanks

John Bratton

John Bratton


Thursday, May 31, 2012 2:00 PM | 1 vote

This message (There is no editor available for <filename> ..etc) happen when you by mistake delete the following statments from form1.vb

Public Class Form1

end class

If this file was clean then for any reason (mine was forced-shutdown) it got saved then, the message will be produced.

To resolve:

1) Close VS altogether and stop trying to use "open with" option ;)

2) Navigate to your project directory and create a file, call it form1.vb

3)Insert the 2 lines above.

4)Reopen VS (preferably by clicking on the same project solution icon).

--Shawn.


Tuesday, August 21, 2012 2:12 AM

Here's another reason why this error might come up.

Check your references. Some of them maybe missing. Try to reset the missing references and try again.


Wednesday, August 22, 2012 2:06 PM

i had the problem and followed the suggestion of repairing any reference issues AND rebuilding the project and it resolved the issue

ADODB was the offending reference for me


Saturday, February 9, 2013 2:57 PM

Hi,

 Although this seems to be a difficult problem.it has a simple solution ,If you cant see a designer window.Or you get a message there is no editor avaliable.like that. check the below mentioned steps

1.check weather  files you see in solution explorer are really part of your project or has been changed.

go to Project > show all files

2.when you click on form.vb you get a message follow that message and path.the solution lies there.your all files are present there.but they may not be recognise

click on application.designer.vb

check this line

 <Global.System.Diagnostics.DebuggerStepThroughAttribute()>  _
        Protected Overrides Sub OnCreateMainForm()
            Me.MainForm = Global.WindowsApplication1.Form1
        End Sub
    End Class

in the above code the name Form1 is the name of you form in solution explorer the name shall match .Also project name shall also match

if you know your code check its start and end points public or private part

is it mentioned if not the code vb creates and you have created is not saparated by class

Check it out there are still more things which can be discussed afterwards

thanks


Saturday, February 9, 2013 2:59 PM

check my answer above your problem will get soloved if you can see code.


Saturday, February 9, 2013 3:23 PM

Massoodi,

do you think the Original Poster is waiting for an answer. 

This threae is almost 2 years old. 

Success
Cor


Sunday, February 10, 2013 2:34 PM

Cor Ligthert
Yes , I Know it is old but didnt you saw it.So someone in need of this post will surely see it.

Any way thanks for care.


Tuesday, April 9, 2013 11:59 AM

I had this Issue it appears that my form had changed to an embedded resource, thy right clicking the form in the slution explorer and then properties. Check that build action is set to "Compile".


Wednesday, September 25, 2013 8:28 AM

Hi.

I had the same Error. i fixed it by repairing Office 2007. (i use office in my references)


Thursday, October 31, 2013 12:24 AM

Hi there.

This problem occurs if one of your references is missing in the project.

1-Go to Solution Explorer.

2-Click Show All Files button.

3-Expand "References" from the project tree.

4-Check your references (you will find an exclamation mark if there is problem with one of references).. And then Remove or reinstall the missing reference files if its required inside your project.

Good Luck.


Monday, November 18, 2013 9:28 AM

You can Create new project. and move all forms and data to it.

go to Add --> add existing itmes

add all items.

its work with me.


Tuesday, March 18, 2014 10:34 PM

Hi guys

Please do not stop adding updated comments to old posts as these problems crop up time after time.

I experienced the same error 'There is no editor available for <filename>... ' but I knew it wasn't my VS Installation as I grabbed an older version of the code from the svn and that compiled and ran.

My errors were strange though, the solution has 39 projects and several projects were being skipped during a rebuild and there were the yellow ! in the main projects but when I tried to remove and add those references I got errors and they would not re-reference.  I tried all sorts of solutions and then I found this post.

Through reading through all of the posts I came to the conclusion there was a compatibility problem and when I started looking at the problem projects they were all at .Net V2.0 (that application has been around since 1.0).  I upped the framework version on one project and did a test rebuild, and it built so after upping all of the projects to V4.0 I can open the forms, the solution builds and the code runs and this post save me a huge huge problem and also what was potentially going to be potentially  an enormous amount of time to recover from another developers cock-up.

So please comment on old posts, it helped me massively.

Jayzee


Tuesday, March 18, 2014 10:36 PM

Just to let you know, this is not really a sensible option when you have a complex solution with over 40 projects, loads of forms, classes, reports, datasets, etc.  It may work for a simple solution.

Jayzee


Friday, March 28, 2014 7:26 PM

Hi,

I just recently had this problem and found out it was installing a new C++ pack for you computer. I was using 2010, and I upgraded to 2013. So just uninstall C++ Service Pack 2013 or anyone you have recently updated too.

Cheers,

Matt


Tuesday, February 24, 2015 3:45 PM

HI :)

if it appears open with.. when you right-click it, open first with resource editor and then just double click in the form, it worked for me :)


Wednesday, April 22, 2015 5:36 PM

Similar problem while running VS 2010 PRO. None of the comments/suggestions worked above, so I attempted recompiling the app and tried again... Forms opened like a charm.


Wednesday, August 22, 2018 11:01 PM

The cause of this issue is file reference on that project have an error. check reference file from right click on the project and click property. in reference's column check all reference is oke. if have any reference error, remove it.