Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form1.vb Design is gone 1

Status
Not open for further replies.
Aug 12, 2004
949
US
All,

Quick question. I have been working on a VB.NET project and now with my Form1.vb all I can do is view the code, now I can't see the Form1.vb (Design), how do I get that back, I can add a new form to my project and view the code under it or the design mode, but not to my Form1.vb

Any ideas?

Thanks,

Erik
 
There is probably a problem with your form's Windows Forms designer region. Expand that and have a look at it. Also does the code start with:

Public Class Form1
Inherits System.Windows.Forms.Form


Hope this helps.
 
In your Solution Explorer window (upper right-hand corner of screen), you should see icons to view code, view designer, etc.) Just selecting one of these icons should open the widow you need.
 
earthandfire,

Yep...that was the issue...the code was messed up (there was some code in between the Public Class Form1 and the Inherits...

Thanks,

Erik
 
Erik, you've always got to be careful when you edit that area - I've messed things up there myself on more than one occasion [wink]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top