form design question

Tech-Archive recommends: Fix windows errors by optimizing your registry



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
.



Relevant Pages

  • Re: form design question
    ... behavior like closing the solution and reopening it; ... You have probably changed some things in the designer part. ... System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink) ... System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression) ...
    (microsoft.public.dotnet.general)
  • Re: form design question
    ... behavior like closing the solution and reopening it; ... You have probably changed some things in the designer part. ... System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink) ... System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression) ...
    (microsoft.public.dotnet.general)
  • ContextMenuStrip Designer Error?
    ... I added the rows below in the designer code, ... "this.m_Components" is defined in my base usercontrol as a protected member. ... manager, String exceptionText, String helpLink) ... manager, String name, CodeExpression expression) ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: form design question
    ... You have probably changed some things in the designer part. ... manager, String exceptionText, String helpLink) ... manager, String name, CodeExpression expression) ...
    (microsoft.public.dotnet.general)
  • Re: Export table to multiple excel worksheets`
    ... Dim strSQL As String, strTemp As String, strMgr As String ... ' *** code to set strSQL needs to be changed to conform to your ... ' Get list of manager IDs -- note: replace my generic table and field ...
    (microsoft.public.access.modulesdaovba)