471,317 Members | 1,402 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

VS2005 Designer problem

I am having a problem when trying to view a form in desing view.
If a form has any error or warning, the design view will not open the
form.

Anybody knows how to fix this error?

Thank you
_dino_
Jan 6 '06 #1
7 1217
Dino,

Can't you fix the error or warning? What kind of application is this Web or
WinForms?
--

Stoitcho Goutsev (100)

"Dino Buljubasic" <di**@noplacelikehome.com> wrote in message
news:q9********************************@4ax.com...
I am having a problem when trying to view a form in desing view.
If a form has any error or warning, the design view will not open the
form.

Anybody knows how to fix this error?

Thank you
_dino_

Jan 6 '06 #2
In researching my problem I found that this is purposeful design for VS2005.
It is meant to eliminate the annyoing problem of controls disappearing when
there was an error in the previous version.

"Dino Buljubasic" <di**@noplacelikehome.com> wrote in message
news:q9********************************@4ax.com...
I am having a problem when trying to view a form in desing view.
If a form has any error or warning, the design view will not open the
form.

Anybody knows how to fix this error?

Thank you
_dino_

Jan 6 '06 #3
I can fix it, it is just that I find it annoying not to be able to see
my form in design view if there is an error. Say, I want to remove a
control from the form that is causing the problem. This was, I have
to fix the problem first, then remove the control.

I am developing a C# win forms app.

Thank you for your help.

On Fri, 6 Jan 2006 16:24:47 -0500, "Stoitcho Goutsev \(100\) [C# MVP]"
<10*@100.com> wrote:
Dino,

Can't you fix the error or warning? What kind of application is this Web or
WinForms?


Jan 6 '06 #4

That might be the case, although I have not found any reference to
that. Contrary, I have found lots of posts complaining about this
annoying feature and according to my research, this is a bug. (google
VS 2005 Designer problem).

Anyways, if you could send me a link to confirm that would be
greatelly appreciated.

_dino_
On Fri, 6 Jan 2006 16:33:55 -0500, "Daniel Billingsley"
<Da***************@newsgroup.nospam> wrote:
In researching my problem I found that this is purposeful design for VS2005.
It is meant to eliminate the annyoing problem of controls disappearing when
there was an error in the previous version.

"Dino Buljubasic" <di**@noplacelikehome.com> wrote in message
news:q9********************************@4ax.com.. .
I am having a problem when trying to view a form in desing view.
If a form has any error or warning, the design view will not open the
form.

Anybody knows how to fix this error?

Thank you
_dino_


Jan 6 '06 #5
My experience of the Winforms designer in VS 2005 so far is that it's
rather buggy.

I've encountered the problem you've described, which can sometimes go
away if you just close and restart VS.

I've also seen some code generation problems with the designer. For
example if you have a form in the Foo namespace, and incorporate a user
control that's also in the Foo namespace (call it Foo.ucBar) then the
designer will try to create a new Foo.ucBar and the compiler will
complain that there is no such thing as Foo.Foo.ucBar. You have to
manually remove the "Foo." from the code to get it to compile.
Apparently there is some implicit assumption that a form and a user
control would never be in the same namespace.

I also have had spurious null exception errors when my code deliberately
assigns null as an initial value to an object ... it's like the IDE is
too smart by half and starts making unwarranted assumptions about what's
going on.

None of this is fatal, just extremely annoying and unreassuring, and I'm
sure that large and complex projects will surface more of this nonsense
and teach me new naughty words in the coming weeks and months.

--Bob

Dino Buljubasic wrote:
That might be the case, although I have not found any reference to
that. Contrary, I have found lots of posts complaining about this
annoying feature and according to my research, this is a bug. (google
VS 2005 Designer problem).

Anyways, if you could send me a link to confirm that would be
greatelly appreciated.

_dino_
On Fri, 6 Jan 2006 16:33:55 -0500, "Daniel Billingsley"
<Da***************@newsgroup.nospam> wrote:

In researching my problem I found that this is purposeful design for VS2005.
It is meant to eliminate the annyoing problem of controls disappearing when
there was an error in the previous version.

"Dino Buljubasic" <di**@noplacelikehome.com> wrote in message
news:q9********************************@4ax.com. ..
I am having a problem when trying to view a form in desing view.
If a form has any error or warning, the design view will not open the
form.

Anybody knows how to fix this error?

Thank you
_dino_

Jan 7 '06 #6
The part that is apparently designed functionality is not trying to load the
form (ignoring the errors). The original source for the error might be a
bug - as it seems to be in the problem I'm having.

http://waltritscher.com/blog/ramblin...005/02/04.aspx

"Dino Buljubasic" <di**@noplacelikehome.com> wrote in message
news:a5********************************@4ax.com...

That might be the case, although I have not found any reference to
that. Contrary, I have found lots of posts complaining about this
annoying feature and according to my research, this is a bug. (google
VS 2005 Designer problem).

Anyways, if you could send me a link to confirm that would be
greatelly appreciated.

_dino_
On Fri, 6 Jan 2006 16:33:55 -0500, "Daniel Billingsley"
<Da***************@newsgroup.nospam> wrote:
In researching my problem I found that this is purposeful design for
VS2005.
It is meant to eliminate the annyoing problem of controls disappearing
when
there was an error in the previous version.

"Dino Buljubasic" <di**@noplacelikehome.com> wrote in message
news:q9********************************@4ax.com. ..
I am having a problem when trying to view a form in desing view.
If a form has any error or warning, the design view will not open the
form.

Anybody knows how to fix this error?

Thank you
_dino_

Jan 7 '06 #7
Hi Bob,

I have experienced exactly the same problems as you described. Yes,
you are right, it can be quite annoying.

_dino_

n Fri, 06 Jan 2006 20:58:23 -0700, Bob Grommes <bo*@bobgrommes.com>
wrote:
My experience of the Winforms designer in VS 2005 so far is that it's
rather buggy.

I've encountered the problem you've described, which can sometimes go
away if you just close and restart VS.

I've also seen some code generation problems with the designer. For
example if you have a form in the Foo namespace, and incorporate a user
control that's also in the Foo namespace (call it Foo.ucBar) then the
designer will try to create a new Foo.ucBar and the compiler will
complain that there is no such thing as Foo.Foo.ucBar. You have to
manually remove the "Foo." from the code to get it to compile.
Apparently there is some implicit assumption that a form and a user
control would never be in the same namespace.

I also have had spurious null exception errors when my code deliberately
assigns null as an initial value to an object ... it's like the IDE is
too smart by half and starts making unwarranted assumptions about what's
going on.

None of this is fatal, just extremely annoying and unreassuring, and I'm
sure that large and complex projects will surface more of this nonsense
and teach me new naughty words in the coming weeks and months.

--Bob

Dino Buljubasic wrote:
That might be the case, although I have not found any reference to
that. Contrary, I have found lots of posts complaining about this
annoying feature and according to my research, this is a bug. (google
VS 2005 Designer problem).

Anyways, if you could send me a link to confirm that would be
greatelly appreciated.

_dino_
On Fri, 6 Jan 2006 16:33:55 -0500, "Daniel Billingsley"
<Da***************@newsgroup.nospam> wrote:

In researching my problem I found that this is purposeful design for VS2005.
It is meant to eliminate the annyoing problem of controls disappearing when
there was an error in the previous version.

"Dino Buljubasic" <di**@noplacelikehome.com> wrote in message
news:q9********************************@4ax.com ...

I am having a problem when trying to view a form in desing view.
If a form has any error or warning, the design view will not open the
form.

Anybody knows how to fix this error?

Thank you
_dino_


Jan 9 '06 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Joăo Santa Bárbara | last post: by
5 posts views Thread by GaryDean | last post: by
1 post views Thread by Frank | last post: by
21 posts views Thread by Peter Bradley | last post: by
reply views Thread by rosydwin | last post: by

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.