all groups > dotnet windows forms designtime > may 2004 >
You're in the

dotnet windows forms designtime

group:

Designer bug on form inheritance


Designer bug on form inheritance Spartacus
5/31/2004 3:18:27 PM
dotnet windows forms designtime: Hi all,

I have a problem and I hope somebody help me ! We (a very big development
team) are using VS Studio .NET 2003 on a very big vb.net project. I have
this problem :

Steps :

1 - Create a windows form on a project. Then put controls on this form.
2 - compile the project
3 - Create an inherited form (based on the first created form)
4 - compile the project, save all, then close the solution

And then, i dont know why, but when I re-open this solution, i cant see the
inherited forms on the form
designer. I see them on the solution browser, but the object is tagged with
the vb icon, not with the form icon, and
the option "View Designer" doesn't appear when i right-click on the
inherited form. Notice that the problem occurs only on inherited forms,
everything is allright on a standard form.

Peoples here become very angry when things like this occurs. Please help me
:)

Re: Designer bug on form inheritance Spartacus
5/31/2004 4:46:36 PM
This solution doesn't fixed my bug :(

Additional help appreciated

"morfy" <morfy@NOROUTE.com> a écrit dans le message de
news:OuJmur0REHA.1396@TK2MSFTNGP12.phx.gbl...
[quoted text, click to view]

Re: Designer bug on form inheritance morfy
5/31/2004 11:07:52 PM
Hi,

If I recall my same problem correctly I deleted the bin and obj -folders and
tada everything showed up right again.
(my problem was that some inherited forms files showed as code only)

regards, morfy

[quoted text, click to view]

Re: Designer bug on form inheritance Frank Hileman
6/5/2004 6:22:00 AM
Or open the project in a text editor, and change the SubType of the
problematic files back to "Form":

SubType = "Form"

Regards,
Frank Hileman

check out VG.net: www.vgdotnet.com
Animated vector graphics system
Integrated Visual Studio .NET graphics editor

[quoted text, click to view]

Re: Designer bug on form inheritance Grant Frisken
6/5/2004 9:03:53 PM
This unfortunately seems to happen pretty frequently in the IDE. The
easiest solution I've found is to select the project and then ensure that
"Show All Files" is selected. Now select the problem form .vb and .resx
files and using the right mouse menu exclude them from the project then
right click and include them. This forces the IDE into recognising them as
Form files again.

Regards
Grant Frisken


[quoted text, click to view]

AddThis Social Bookmark Button