No editor for form in 2005

Posted on 2007-07-19
Last Modified: 2009-08-06
I'm working on a major project. I was about to make some large changes that I was unsure of how it would affect the program. So I made a backup of the entire project into a "TestClient" folder, and started my changes. After doing so, one of my forms now report:

There is no editor available for [file]
Make sure the application for the file type (.vb) is installed

All my other forms work. So, I tried on the original problem as well, and it now says the same thing. If I add the form into a brand new project, then it works fine.

Also, my database file that was in my project just randomly stopped working, after making no changes to it and working on the "Testclient" for a couple hours.

I have researched this, and tried changing the "Signing" box, but that didn't change anything. I'm using VB.Net 2005.

EDIT: To note, on the database. When I try to compile, it gives the same error message now, but ".bkp" instead of ".vb". (BKP is a random extension I'm using. It's an Acess DB)
Question by:powersource
    LVL 96

    Accepted Solution

    You have to look at the .vbproj file, and notice the entry for the form.  It should be in this form:

       <Compile Include="Form1.vb">


    Expert Comment

    I had the same problem. After looking in the .vbproj file as TheLearnedOne suggested, my Form1 line said <None Include="Form1.vb">. So I had a look around to see why mine said "None".

    The Properties for the Form1 were set to:
    CopyToOutputDirectory=Copy Always

    I changed them to:
    CopyToOutputDirectory=DoNot Copy

    And it was all working again.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
    A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now