form design question

  • Thread starter Thread starter --== Alain ==--
  • Start date Start date
A

--== Alain ==--

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.CodeDomSerializerBase.Error(IDesignerSerializationManager
manager, String exceptionText, String helpLink)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager
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
 
Alain,

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

Cor
 
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 said:
Alain,

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

Cor

--== Alain ==-- said:
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.CodeDomSerializerBase.Error(IDesignerSerializationManager
manager, String exceptionText, String helpLink)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager
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
 
It's a VC.NET 2005 project...not a VB one

Brendon said:
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 said:
Alain,

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

Cor

--== Alain ==-- said:
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.CodeDomSerializerBase.Error(IDesignerSerializationManager
manager, String exceptionText, String helpLink)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager
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
 
Back
Top