473,401 Members | 2,127 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

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

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
6 18050

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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Brett | last post by:
I have a form with a Form1_Load() Subprocedure and no other code. For some reason, the design view does not come up. If I add a new form, the design view does come up. The form does appear when...
1
by: rob | last post by:
It seems MS finally has a hotfix for KB 912019: "You may receive an error message when you rebuild a solution and try to view a Windows Form in Design view in Visual Studio 2005". The problem is...
5
by: Ronald S. Cook | last post by:
I need ideas on how to best design a Windows form for my particular situation. On a cattle feeding yard there will be between about 300 and 600 pens. On my "Pen Feeding Sequence" form, I want...
3
by: David C. Barber | last post by:
Hi, I'm having the rather distressing situation where what my VB 2005 SP1 form is showing in design view, is not accurate when it's run. Specifically, I have a label control that shows all it's...
0
by: babis | last post by:
i have a problem with windows form design, here is my problem : i want to make master_company, where each company has one or more companyAddress. do you have any suggestion for me?
3
by: OldBirdman | last post by:
I have several PopUp forms in my database. Before today, if I switched to Design View, the form was in the same position as in Form View. Currently if I switch to Design View, the form is...
0
by: Ryan Liu | last post by:
Hi, In VS 2005, in design view, if I put a lable on a windows form, and set label Text to "", then this label will totally invisiable. This is right at runtime, but I remember in VS 2003, it...
2
by: =?Utf-8?B?YWhtZWQgZmF0aGk=?= | last post by:
I created new project From VC++ .net IDE. CLR->Windows forms control library. I need to view the control in a web page but I can't. Your advice is Higly appreciated
1
by: vantrung | last post by:
I open the form. But in its database window don't have design view and delete item (can not click). even in View menu can not use also . Please show me able it to excute! Thank !
18
by: AdamOnAccess | last post by:
Anyone know an easy way to toggle between Form and Design view with a hotkey? I know you can switch from Design view to Form view with hotkey F5. But is there a hotkey to switch back (from Form...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.