Answered [Design] view is gone

  • Sunday, June 03, 2012 2:48 PM
     
     

    I worked on a VB project using Visual Studio 11 Beta, getting all of the controls situated on the form. The only actual "code" that was created was to create the controls and connect a few drop down boxes to an Access database. When I went to reopen my project today, my main interface form could no longer access [Design] view so I have no way to continue adding controls to my form. I've tried multiple solutions I found on these forums, including adding "public class Form1 end class" to my .vb form, to no avail. Currently, the "public class Form1 end class" is all I have in my code file. my .designer.vb file is full of components that I added to the form, I just can't view them in Design mode.

    I have no errors on my form, however I did have some when I originally opened my project that were not there when I closed it last night. I did correct these errors though, and can run unit tests without any errors. But no matter what I do I cannot get the [Design] view to come back. I know that you can normally get to design view by going to View > Designer from the toolbar or my right clicking on the .vb file in the solution explorer and clicking "View Designer", but for this form those options no longer exist. This is really frustrating because the form worked fine last night and I could access it without a problem, and for some reason this morning it does not work. I haven't done anything to the form since last night when I closed it so I don't know why it suddenly won't allow me to get to the [Design] view. I'm starting to question even using VB for this project at all if I keep having problems like this. It's too frustrating and time consuming.

    If anyone can think of a solution that I am missing, I would greatly appreciate it.

All Replies