By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,319 Members | 2,361 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,319 IT Pros & Developers. It's quick & easy.

Lost my Design view for a Windows Form (VB 2005)

P: n/a
I have 2 forms, Form1.vb and Form2.vb.
In Solution Explorer, Form2.vb no longer shows a Form icon nor do I have the
option to open Form2.vb [design] in the main explorer window where usually I
have the design view options for any forms.
I don't get it. Why can I not get back to design view for Form2??

Thanks,
Ryan
Jun 9 '06 #1
Share this Question
Share on Google+
6 Replies


P: n/a

Ryan wrote:
I have 2 forms, Form1.vb and Form2.vb.
In Solution Explorer, Form2.vb no longer shows a Form icon nor do I have the
option to open Form2.vb [design] in the main explorer window where usually I
have the design view options for any forms.
I don't get it. Why can I not get back to design view for Form2??

Thanks,
Ryan


I have seen this before. I got around it by simply adding another
blank form to the project. Once I did that, my other form came back
and I deleted the unneeded form.

You might also try right clicking on it and choose open with designer.

Jun 9 '06 #2

P: n/a
Hi,

If Chris's suggestion does not work close visual studio and open it
from the command promt and reset visual studio's settings.

devenv /resetsettings

http://msdn2.microsoft.com/en-us/ms241273.aspx

Ken
------------------------------

"Ryan" wrote:
I have 2 forms, Form1.vb and Form2.vb.
In Solution Explorer, Form2.vb no longer shows a Form icon nor do I have the
option to open Form2.vb [design] in the main explorer window where usually I
have the design view options for any forms.
I don't get it. Why can I not get back to design view for Form2??

Thanks,
Ryan

Jun 9 '06 #3

P: n/a
I tried both yours and Chris' suggestions and am still having the same
problem. I don't get it.. the form still works properly when I debug the
application (F5), but I cannot get to its design view. I've looked at the
designer.vb files (which I have not modified) and they both inherit from
System.Windows.Forms.Form

Partial Class Form1
Inherits System.Windows.Forms.Form

The Icon for "View Designer" is not available at the top of the Solution
Explorer for Form2.vb nor is it an option when I right click on Form2.vb
(View Designer is an option in both placed for Form1.vb).

Thanks,
Ryan

"Ken Tucker [MVP]" <Ke**********@discussions.microsoft.com> wrote in message
news:B3**********************************@microsof t.com...
Hi,

If Chris's suggestion does not work close visual studio and open it
from the command promt and reset visual studio's settings.

devenv /resetsettings

http://msdn2.microsoft.com/en-us/ms241273.aspx

Ken
------------------------------

"Ryan" wrote:
I have 2 forms, Form1.vb and Form2.vb.
In Solution Explorer, Form2.vb no longer shows a Form icon nor do I have
the
option to open Form2.vb [design] in the main explorer window where
usually I
have the design view options for any forms.
I don't get it. Why can I not get back to design view for Form2??

Thanks,
Ryan

Jun 9 '06 #4

P: n/a
Nevermind I found the problem. There was no public Class declaration in the
code behind Form2.vb. Must have deleted everything out of there by mistake
when deleting out some other code. Once I added this to the code behind
Form2.vb it worked fine:

Public Class Form2

End Class

"Ryan" <Ty****@newsgroups.nospam> wrote in message
news:uZ**************@TK2MSFTNGP03.phx.gbl...
I tried both yours and Chris' suggestions and am still having the same
problem. I don't get it.. the form still works properly when I debug the
application (F5), but I cannot get to its design view. I've looked at the
designer.vb files (which I have not modified) and they both inherit from
System.Windows.Forms.Form

Partial Class Form1
Inherits System.Windows.Forms.Form

The Icon for "View Designer" is not available at the top of the Solution
Explorer for Form2.vb nor is it an option when I right click on Form2.vb
(View Designer is an option in both placed for Form1.vb).

Thanks,
Ryan

"Ken Tucker [MVP]" <Ke**********@discussions.microsoft.com> wrote in
message news:B3**********************************@microsof t.com...
Hi,

If Chris's suggestion does not work close visual studio and open it
from the command promt and reset visual studio's settings.

devenv /resetsettings

http://msdn2.microsoft.com/en-us/ms241273.aspx

Ken
------------------------------

"Ryan" wrote:
I have 2 forms, Form1.vb and Form2.vb.
In Solution Explorer, Form2.vb no longer shows a Form icon nor do I have
the
option to open Form2.vb [design] in the main explorer window where
usually I
have the design view options for any forms.
I don't get it. Why can I not get back to design view for Form2??

Thanks,
Ryan


Jun 9 '06 #5

P: n/a
Ryan,

Are you famaliar with the Show All files icon from the Solution Explorer it
is in Top of the Box.
I have the idea that you would have found it than earlier.

Cor
"Ryan" <Ty****@newsgroups.nospam> schreef in bericht
news:O%****************@TK2MSFTNGP05.phx.gbl...
Nevermind I found the problem. There was no public Class declaration in
the code behind Form2.vb. Must have deleted everything out of there by
mistake when deleting out some other code. Once I added this to the code
behind Form2.vb it worked fine:

Public Class Form2

End Class

"Ryan" <Ty****@newsgroups.nospam> wrote in message
news:uZ**************@TK2MSFTNGP03.phx.gbl...
I tried both yours and Chris' suggestions and am still having the same
problem. I don't get it.. the form still works properly when I debug the
application (F5), but I cannot get to its design view. I've looked at the
designer.vb files (which I have not modified) and they both inherit from
System.Windows.Forms.Form

Partial Class Form1
Inherits System.Windows.Forms.Form

The Icon for "View Designer" is not available at the top of the Solution
Explorer for Form2.vb nor is it an option when I right click on Form2.vb
(View Designer is an option in both placed for Form1.vb).

Thanks,
Ryan

"Ken Tucker [MVP]" <Ke**********@discussions.microsoft.com> wrote in
message news:B3**********************************@microsof t.com...
Hi,

If Chris's suggestion does not work close visual studio and open
it
from the command promt and reset visual studio's settings.

devenv /resetsettings

http://msdn2.microsoft.com/en-us/ms241273.aspx

Ken
------------------------------

"Ryan" wrote:

I have 2 forms, Form1.vb and Form2.vb.
In Solution Explorer, Form2.vb no longer shows a Form icon nor do I
have the
option to open Form2.vb [design] in the main explorer window where
usually I
have the design view options for any forms.
I don't get it. Why can I not get back to design view for Form2??

Thanks,
Ryan



Jun 10 '06 #6

P: n/a
Yes I am familiar with the "show all files" icon.

Thanks,
Ryan

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:eT**************@TK2MSFTNGP04.phx.gbl...
Ryan,

Are you famaliar with the Show All files icon from the Solution Explorer
it is in Top of the Box.
I have the idea that you would have found it than earlier.

Cor
"Ryan" <Ty****@newsgroups.nospam> schreef in bericht
news:O%****************@TK2MSFTNGP05.phx.gbl...
Nevermind I found the problem. There was no public Class declaration in
the code behind Form2.vb. Must have deleted everything out of there by
mistake when deleting out some other code. Once I added this to the code
behind Form2.vb it worked fine:

Public Class Form2

End Class

"Ryan" <Ty****@newsgroups.nospam> wrote in message
news:uZ**************@TK2MSFTNGP03.phx.gbl...
I tried both yours and Chris' suggestions and am still having the same
problem. I don't get it.. the form still works properly when I debug the
application (F5), but I cannot get to its design view. I've looked at
the designer.vb files (which I have not modified) and they both inherit
from System.Windows.Forms.Form

Partial Class Form1
Inherits System.Windows.Forms.Form

The Icon for "View Designer" is not available at the top of the Solution
Explorer for Form2.vb nor is it an option when I right click on Form2.vb
(View Designer is an option in both placed for Form1.vb).

Thanks,
Ryan

"Ken Tucker [MVP]" <Ke**********@discussions.microsoft.com> wrote in
message news:B3**********************************@microsof t.com...
Hi,

If Chris's suggestion does not work close visual studio and open
it
from the command promt and reset visual studio's settings.

devenv /resetsettings

http://msdn2.microsoft.com/en-us/ms241273.aspx

Ken
------------------------------

"Ryan" wrote:

> I have 2 forms, Form1.vb and Form2.vb.
> In Solution Explorer, Form2.vb no longer shows a Form icon nor do I
> have the
> option to open Form2.vb [design] in the main explorer window where
> usually I
> have the design view options for any forms.
> I don't get it. Why can I not get back to design view for Form2??
>
> Thanks,
> Ryan
>
>
>



Jun 10 '06 #7

This discussion thread is closed

Replies have been disabled for this discussion.