• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • Last Modified:

VS 2010 oddities

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.
1 Solution
Jacques Bourgeois (James Burger)PresidentCommented:
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.
lweeklyAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Tackle projects and never again get stuck behind a technical roadblock.
Join Now