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.
Sunday, June 03, 2012 6:35 PMIn solution explorer I double left click on the Forms .vb file and it brings the Form up in the design tab. I am also using MS VS 11 Beta but can not recreate your problem. Hopefully one of the Microsoft engineers will see your post sometime today and maybe have an answer for you.
Sunday, June 03, 2012 6:45 PM
I don't know the problem, did you by the way know that VB beta is replaced by RC
The name is changed to 2012 VB version stays of course VB11
But like monkeyboy says i had not your behaviour.
Check if you have changes something in xx.designer.vb by accident.
Sunday, June 03, 2012 6:46 PM
Like mr. Monkeyboy says is this normal, check if you changed something in xx.designer.vb
Did you know by the way that Version 2012 RC is there.
The VB version in that is of course VB11
Sunday, June 03, 2012 7:00 PMThis may be a solution http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvb/thread/ee80f98e-64ee-41c4-8bb8-123610db6c10/