473,396 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

form design question

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
3 1540
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Pete | last post by:
Before I get started with the question, does anyone have a (single) good book recommendation for database design? Not an Access-specific book, but something geared toward helping me figure out...
3
by: Salad | last post by:
What do you do when you've designed an app at 800x600 and you now want to make use of higher res?. It's an internal app and won't be distributed to the world. I'm sometimes asked to squeeze in...
16
by: TD | last post by:
This is the code under a command button - Dim ctl As Control For Each ctl In Me.Controls If ctl.BackColor <> RGB(255, 255, 255) Then ctl.BackColor = RGB(255, 255, 255) End If Next ctl
4
by: Adam Clauss | last post by:
This may be more of a Visual Studio question than a C# question, but it came up within the context of a C# app, so here it is. In a Windows Form or a Web Form application, you can drag various...
10
by: Mr Newbie | last post by:
DropDown lists and Listboxes do not appear in the list of controls and values passed back to the server on PostBack in Request.Form object. Can someone confirm this to be correct and possibly...
2
by: Marc Gravell | last post by:
Aaarrggghhh! Maybe I've just got lucky, but until now I haven't had such a seemingly unrecoverable form corruption error... I have a reasonably complex form (data-binding to sub-controls, events,...
3
by: Tabi | last post by:
Hi, I have just created a class that removes action attribute from HtmlForm. The code looks like here. namespace ComIT.Applications.Common { public class Form :...
3
by: trgpham | last post by:
Hi all, I have a question and really hoping you guys can help or point me to the right direction. MY SCENARIO: I need to design a screen which show up all the questionnaires and the users can...
15
by: Angelo | last post by:
Hi all, I'm using a FileSystemWatcher to monitor a directory. I want the FSW to pop up my already instantiated but invisible form. However, I'm running into some problems with this. 1) In...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.