VS 2010 oddities

Posted on 2011-10-26
Last Modified: 2012-05-12
I have encountered a problem in VS 2010/VB.Net.

I open a project, and open a form file in the design mode. The tab above it has an asterisk indicating it needs to be saved, even though I haven't changed anything. I can edit it, save it, compile the .exe and all is fine.  But if I try to close that tab, VS blows up.

Once I restart VS, if I open the project again, the same thing happens.

Is there a Visual Studio setting that might affect this?

Of course, it doesn't happen on all form files, but on most.

This just started about a week ago.  I went back to old backups, and it happens on them now as well.  Therefore, I believe Visual Studio is the culprit.

Thanks for any suggestions.
Question by:lweekly
    LVL 40

    Accepted Solution

    If you open the programs option in the Control Panel and right-click on the Microsoft Visual Studio entry, you will have an option to Change the settings. Once in there, you can ask to Repair the installation. This usually solves the type of problem you are describing.

    Author Closing Comment

    Thanks, I'll try that if it happens again.  Before I got your answer, I recreated the two forms from scratch, carefully layering things the right way the first time.  I was able to copy from the original, so it only took about four hours.

    These are very complex forms, so I would add a few things, save, close and re-open to ensure all was OK before proceeding.

    I guess I had done something in the form designer that confused the issue, so a clean restructure appears to have eliminated the problems.

    Thanks again

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
    More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    729 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

    15 Experts available now in Live!

    Get 1:1 Help Now