locked
There is no editor available for vb

    Question

  • Hi,

     

    Using Visual Basic 2005 Express Edition for several months and build an application that still works,

    but needed on some parts an apdate.

     

    Starting the View Design editor, I got the following error.

     

    There is no editor available for: C:\ ?.vb

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

     

    There are more errors.

     

    The properties window isn’t accessible and also

    the application properties window. 

     

    Under

    Tools/Options.

    Windows Form Designer.

    An error occurred loading this property page.

     

    Under

    Tools/ Import and Export Settings Wizard

    The operation cold not completed.

     

    Under

    Tools/ A new item apeared Create GUID.

     

     

    Reinstalled Visual Basic 2005 Express Edition

    Reinstalled Framework 1.1

    Reinstalled Framework 2.0

     

    Surfed several hours on the Internet but didn't find a solution.

     

     

    Please help.

     

    Henk van Andel

    Wednesday, November 29, 2006 6:54 PM

Answers

  • Visual Basic 2005 Express Edition works again.

     

    Desperate as I was, did a complete deinstall with the Windows Install Cleanup Utility.

    Framework 1.1

    Framework 2.0

    And VB 2005

     

    Installed

    Framework 1.1

    Framework 2.0

    And last but not least VB 2005 Express.

     

    And everything works fine for now.

     

    Don’t know what caused this problem.

    But for now the problem is solved.  I am Happy again    .

     

     

    Henk.

    Thursday, November 30, 2006 5:55 PM

All replies

  • Visual Basic 2005 Express Edition works again.

     

    Desperate as I was, did a complete deinstall with the Windows Install Cleanup Utility.

    Framework 1.1

    Framework 2.0

    And VB 2005

     

    Installed

    Framework 1.1

    Framework 2.0

    And last but not least VB 2005 Express.

     

    And everything works fine for now.

     

    Don’t know what caused this problem.

    But for now the problem is solved.  I am Happy again    .

     

     

    Henk.

    Thursday, November 30, 2006 5:55 PM
  • I have had this problem in just one form "MyForm", and the solution that i have done is :

    1 - Add a new form to your project "NewForm"

    2 - copy your code from the MyFrom.vb to the NewForm.vb

    3 - copy your code from MyForm.Designer.vb to NewForm.Designer.vb

    4 - remove Myform

    5 - rename NewForm, give it the same name that has MyForm

    6 - Open this new MyForm

    7 -The form is opened

    Happy day to you.

    Tuesday, May 29, 2007 7:06 PM
  • I have had this happen numerous times in VS 2005. No idea what causes it, appears to happen at random but here's been my work-around:

    1.) Close VS, delete .sln and.suo files.
    2.) Re-start project using .vbproj file, problem goes away and new .sln/.suo files are automatically works.


    No idea why this works but it has fixed it for me every time and is much faster than any other solutions I've seen.

    Wednesday, January 21, 2009 2:37 PM
  • Same problem with Visual Studio 2008, did uninstall and reinstall and nothing was fixed....would like any help...Len Faseler
    Monday, July 13, 2009 6:11 PM
  • Same problem with VS2008,

    thank to information from egiallolombardo, I resolved deleting .suo and .ncb
    (I do not deleted .sln that was needed for a complex multiproject solution),
    then I opened the solution and recompile all, and then it works again.
    Thursday, November 12, 2009 10:34 PM
  • I hope this issue is solved in vs 2010 I’ve got the same problem in vs 2008

    I closed visual studio and deleted the .suo Then I opened again and it worked fine.

     

    Thanks egiallolombardo

     

    Friday, March 12, 2010 8:48 PM
  • I'm having the same problem:

    "There is no editor available for '....<points to a windows form in one of my projects in my solution>...'."
    "Make sure the application for the file type (.vb) is installed."

    My solution contains about 15 projects all under VSS (Visual Source Safe).  I often work in offline mode, which appears to be the cause/trigger for this message when I return to online mode (i.e. connected to VSS).

    The work around so far is to shut down VS 2008 and restart VS 2008.  DO NOT delete your .sln or .suo files!!

    Does anyone know if Microsoft have addressed the many VSS related issues for VS 2010?  Is it still using VSS 2005?

    Thanks, Rob.

    Monday, July 19, 2010 3:50 PM
  • Don't take it too serious it not a big problem just change user account now you are working at and there are no such error will be com again thank you.
    lakindu ravihara
    software developer
    lrgamage88@gmail.com
    Sri Lanka
    Tuesday, July 20, 2010 10:30 AM
  • happened to me in VS2010 after turned off my pc during a save and it corrupted one form.

    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    There is no editor available for 'C:\DEV\TFS\XXProject\UserInterface\frmXX.vb'.

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

     

    I did a DiffMerge between a working form and the corrupted form and found the error:

     

    ---------------------------
    Error!
    ---------------------------
    File has a NUL byte at offset 0; this is not valid for encoding 'Default encoding'.

    The file in the right panel:
        'C:\DEV\TFS\XXProject\UserInterface\frmXX.vb'
    could not be imported because it contained a NUL character.  This may be a binary file.

    The files are different (using raw comparison).

    Would you like to try another character encoding?
    ---------------------------
    Yes   No  
    ---------------------------

     

     

    Undo'ing the check out in TFS resolved the problem.


    Jeremy - MCP | MCAD.Net | MCSD.Net
    Monday, August 23, 2010 12:55 AM
  • Check the build action on your forms. make sure they are set to compile and not content. either way change it to content and back to compile. that should set you strai8
    • Proposed as answer by a123abc567 Thursday, January 27, 2011 10:46 AM
    Saturday, September 18, 2010 9:02 AM
  • Yes, I am having the same problem with VS2010....

    I can make new forms but I can't even touch Form1.vb.
    I went to the project folders, and I can't even see the code or design of Form1.vb.

     

    What do I do?

    • Proposed as answer by mrm__1 Wednesday, June 01, 2011 10:35 AM
    Sunday, February 06, 2011 2:50 AM
  • If you right click the Form1.vb and click Properties , and ensure the Buid Action is set to compile.

    this resolved it for me

    Wednesday, June 01, 2011 10:39 AM
  • I have the very same problem.

     

    I was working on my project in VS2010, when I experienced an unexpected computer freeze - the cause of which i have yet to determine. When I restarted the computer and reloaded the solution, i got the "cant touch" myform1 problem. If I load the file in a text editor, it's just random garbles.  Seems the file got corrupted or something. And NO, setting its action from compilte to content and back again DOES NOT help.

     

    Deleting sln and suo files doesnt help either. 

     

    Does anybody have a solution? If I lose this thing, I'll be set 2 weeks back of very hard work.

     

    Also wtf is this thing? I've had computer freezes all my life and never lost a single file to it, especially not the one I was working on, everything is or was backed up in MS programs. This is VISUAL STUDIO, the GRAND DADDY  of them all!!!

    • Proposed as answer by Triglav Friday, September 09, 2011 11:39 PM
    • Unproposed as answer by Triglav Friday, September 09, 2011 11:39 PM
    Friday, September 09, 2011 9:35 PM
  • Ok just to update this thread for future use.

     

    I solved my problem in 2 hours, by using a (well 3 different) data recovery program that deep scanned the hard drive and found older copies of the file.

    The original file was completely unsalvagable (at least with "civilian" technology). It had the same file size as the undamaged one before computer freeze, but every byte in it was a null byte (or however it's called), in text editor it gave me a string of NULL characters. And in hex all values were 0. No idea how this can happen, but it happened as my computer froze. Both are probably a symptom of some third problem that I have yet to uncover.

    So I got my recovered file (which was 99% undamaged and I got the other 1% from older backups) and i'm now one happy panda.

     

    Hope this solution can help someone else.

    Friday, September 09, 2011 11:47 PM
  • Hi all,

    the problem may be due to the references. Especially because of Microsoft.Office.Core.

     

    Thursday, December 08, 2011 9:20 AM
  • I've read alot of responses to this issue on the Web and discovered the solution quite by accident.

    Simply instert a new form into your project and the issue is fixed. I have no clue as to why it started, BUT....

    This worked for me.

    Hope this helps

    • Proposed as answer by svaha1728 Wednesday, January 04, 2012 6:33 PM
    Thursday, December 15, 2011 7:19 PM
  • Hello, I am running VS2010.  I am experiencing the same issue when trying to open a specific project.  I have attempted ALL the proposed solutions to this issue, none have worked.  I also experienced an "Error 1935" when i attempted to re-install VS, every time. (I attemped 3 times, but the forum says "closed" because they couldnt recreate it)  Remembering the only thing I had changed to the box prior to this "There is no editor available..." issue, was the installation of MSOffice2010 and security update which I promptly uninstalled.  I was then able to install without an issue. (still not sure if they are related)  I then re-installed from a new DL of the ISO file off the MSDN website.  Even after the new install, the error "There is no editor available for <file>.vb" is still thrown when trying to access any .vb file, in any project.

    Tuesday, June 19, 2012 12:47 PM
  • I had this same issue today. Turns out I unistalled an application and accidentally removed Comctl32.ocx along with it, so my project was missing the reference. Once I re-registered the library it all worked. 

    Try to build your project or scroll through your references to see if you're missing a library.

    Tuesday, August 28, 2012 3:09 AM
  • Hi,

     

    Using Visual Basic 2005 Express Edition for several months and build an application that still works,

    but needed on some parts an apdate.

     

    Starting the View Design editor, I got the following error.

     

    There is no editor available for: C:\ ?.vb

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

     

    There are more errors.

     

    The properties window isn’t accessible and also

    the application properties window. 

     

    Under

    Tools/Options.

    Windows Form Designer.

    An error occurred loading this property page.

     

    Under

    Tools/ Import and Export Settings Wizard

    The operation cold not completed.

     

    Under

    Tools/ A new item apeared Create GUID.

     

     

    Reinstalled Visual Basic 2005 Express Edition

    Reinstalled Framework 1.1

    Reinstalled Framework 2.0

     

    Surfed several hours on the Internet but didn't find a solution.

     

     

    Please help.

     

    Henk van Andel

    I Guess i have found a simple breakout of this problem . 

    Open the <Form>.vb file using notepad

    Delete all the text lines by pressing Ctrl+A and Del

    Now Save the file and try opening the <Form>.vb file again .

    But , I found that you will loose all the code but not the Designer

    It is beacouse your Computer frooze while you were debugging or Editing the code

    It worked for me beacouse my designer was more important than the code i typed .

    It took a month to design that single form but just a week to write code to that form which was only 10 % complete and i still remember the codes i typed . :) 
    • Proposed as answer by Ravi58900 Thursday, October 11, 2012 11:38 AM
    Thursday, October 11, 2012 11:38 AM
  • Erase all lost references , it works !
    Saturday, October 27, 2012 11:21 AM