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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

My form is no longer a form

Status
Not open for further replies.

Sandman83

Programmer
Sep 11, 2001
122
US
For some reason I no longer have the option of viewing my main form in designer (The GUI). I can only look at the code. In solution explore, the icon is no longer the form icon either, it's the same icon as a code module. Any ideas what happened and if I can fix it? Thanks.
 
Is this a Windows form? Does it still have the following line of code?

Inherits System.Windows.Forms.Form
 
Yes, it's a Windows form and has the inherits statement. That did get me lookig around though and I found that the .vb file was missing the following lines of code

Code:
Public Class frmMain

End Class

Once I added these lines the "module" tunred back into a form.
 
What verdio are you using.

Did you put it in a namespace (which gives troubles in 2005+)

Christiaan Baes
Belgium

My Blog
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top