Windows Develop Bookmark and Share   
 index > Windows Forms Designer > How do I get to the Designer?
 

How do I get to the Designer?

I created a project in VB 2005 and everything went well until I closed the project. When I opened it back up, I couldn't find the Form Designer. How do I get to it? I can view the Form1.designer.vb file, but can't figure out a way to actually view the form and drag & drop controls onto it. Do I have to be in a special mode?
loren777  Thursday, May 10, 2007 7:28 PM

You should be able to double click the Form1.vb file and find it opens up in design mode. Also you can single left click the Form1.vb file and then you should an icon you can press in the tool strip area of the solution files window. If neither work then check to ensure that the definition of the form is the first class inside the vb file as Visual Studio 2005 looks at the base class of the first type defined to decide if a designer is appropriate for it.

Phil Wright
Free user controls for .NET Windows.Form
http://www.componentfactory.com

Philip Wright  Sunday, May 13, 2007 11:39 AM

You should be able to double click the Form1.vb file and find it opens up in design mode. Also you can single left click the Form1.vb file and then you should an icon you can press in the tool strip area of the solution files window. If neither work then check to ensure that the definition of the form is the first class inside the vb file as Visual Studio 2005 looks at the base class of the first type defined to decide if a designer is appropriate for it.

Phil Wright
Free user controls for .NET Windows.Form
http://www.componentfactory.com

Philip Wright  Sunday, May 13, 2007 11:39 AM
Double-clicking on the file did not help, so I copied some lines from Form1.Designer.vb in the empty Form1.vb file. After eliminating some lines in Form1.Designer.vb, I got the project to compile and the Form Designer to show up. Thank you very much!
loren777  Monday, May 14, 2007 12:41 PM

You can use google to search for other answers

Custom Search

More Threads

• Create custom Controls for Win Forms book, sample, etc
• custom properties for controls
• How to update data
• self created icons
• Laying out my form, equivelant to BorderLayout.
• Extending BindingSource
• Splitting graphic output
• UITypeEditor to pick resource files
• Accessing Resources
• How do I Open a new form from a button click event?