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

form design question

P: n/a
Hi,

I've created a Form just for testing purposes.
on this form i have a custom control that i created.

Every time that i update my custom control (dll file), my test form
displays the following message :

"One or more errors encountered while loading the designer. The errors
are listed below. Some errors can be fixed by rebuilding your project,
while others may require code changes.

The variable 'aR_ListView1' is either undeclared or was never assigned.
Hide

at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.Error(IDesignerSerializationManager
manager, String exceptionText, String helpLink)
at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeStatement(IDesignerSeria lizationManager
manager, CodeStatement statement) "

I need to close the Form1.h [Design] window and to open it again to have
my form displayed normally...

how can i do to make MS VC++ refreshing itself without closing-opening
the form designer to see it ?

Thanks,

Alain
Oct 27 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Alain,

You have probably changed some things in the designer part. That you have to
undo.

Cor

"--== Alain ==--" <no****@noemail.comschreef in bericht
news:uZ****************@TK2MSFTNGP04.phx.gbl...
Hi,

I've created a Form just for testing purposes.
on this form i have a custom control that i created.

Every time that i update my custom control (dll file), my test form
displays the following message :

"One or more errors encountered while loading the designer. The errors are
listed below. Some errors can be fixed by rebuilding your project, while
others may require code changes.

The variable 'aR_ListView1' is either undeclared or was never assigned.
Hide

at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.Error(IDesignerSerializationManager
manager, String exceptionText, String helpLink)
at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeStatement(IDesignerSeria lizationManager
manager, CodeStatement statement) "

I need to close the Form1.h [Design] window and to open it again to have
my form displayed normally...

how can i do to make MS VC++ refreshing itself without closing-opening the
form designer to see it ?

Thanks,

Alain

Oct 28 '06 #2

P: n/a
Ahhhhhhhhhh the joyous white window of pain - before you attempt to rash
behavior like closing the solution and reopening it; try closing the form,
then CLEAN the solution the rebuild... Once it's done try and open your form
again - Failing that the Beta SP1 is out that rectifies this glitch - I'm
assuming it's a VB project in 2005?

Brendon

"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:OI****************@TK2MSFTNGP03.phx.gbl...
Alain,

You have probably changed some things in the designer part. That you have
to undo.

Cor

"--== Alain ==--" <no****@noemail.comschreef in bericht
news:uZ****************@TK2MSFTNGP04.phx.gbl...
>Hi,

I've created a Form just for testing purposes.
on this form i have a custom control that i created.

Every time that i update my custom control (dll file), my test form
displays the following message :

"One or more errors encountered while loading the designer. The errors
are listed below. Some errors can be fixed by rebuilding your project,
while others may require code changes.

The variable 'aR_ListView1' is either undeclared or was never assigned.
Hide

at
System.ComponentModel.Design.Serialization.CodeDo mSerializerBase.Error(IDesignerSerializationManage r
manager, String exceptionText, String helpLink)
at
System.ComponentModel.Design.Serialization.CodeDo mSerializerBase.DeserializeExpression(IDesignerSer ializationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDo mSerializerBase.DeserializeExpression(IDesignerSer ializationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDo mSerializerBase.DeserializeStatement(IDesignerSeri alizationManager
manager, CodeStatement statement) "

I need to close the Form1.h [Design] window and to open it again to have
my form displayed normally...

how can i do to make MS VC++ refreshing itself without closing-opening
the form designer to see it ?

Thanks,

Alain

Oct 28 '06 #3

P: n/a
It's a VC.NET 2005 project...not a VB one

Brendon Bezuidenhout wrote:
Ahhhhhhhhhh the joyous white window of pain - before you attempt to rash
behavior like closing the solution and reopening it; try closing the form,
then CLEAN the solution the rebuild... Once it's done try and open your
form
again - Failing that the Beta SP1 is out that rectifies this glitch - I'm
assuming it's a VB project in 2005?

Brendon

"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:OI****************@TK2MSFTNGP03.phx.gbl...
>Alain,

You have probably changed some things in the designer part. That you
have to undo.

Cor

"--== Alain ==--" <no****@noemail.comschreef in bericht
news:uZ****************@TK2MSFTNGP04.phx.gbl...
>>Hi,

I've created a Form just for testing purposes.
on this form i have a custom control that i created.

Every time that i update my custom control (dll file), my test form
displays the following message :

"One or more errors encountered while loading the designer. The
errors are listed below. Some errors can be fixed by rebuilding your
project, while others may require code changes.

The variable 'aR_ListView1' is either undeclared or was never assigned.
Hide

at
System.ComponentModel.Design.Serialization.CodeD omSerializerBase.Error(IDesignerSerializationManag er
manager, String exceptionText, String helpLink)
at
System.ComponentModel.Design.Serialization.CodeD omSerializerBase.DeserializeExpression(IDesignerSe rializationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeD omSerializerBase.DeserializeExpression(IDesignerSe rializationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeD omSerializerBase.DeserializeStatement(IDesignerSer ializationManager
manager, CodeStatement statement) "

I need to close the Form1.h [Design] window and to open it again to
have my form displayed normally...

how can i do to make MS VC++ refreshing itself without
closing-opening the form designer to see it ?

Thanks,

Alain

Oct 28 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.