🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.csharpbuilder.ide.general
2 messages
2 total messages Started by RB Sat, 07 May 2005 23:23
deserialization?
#29
Author: RB
Date: Sat, 07 May 2005 23:23
12 lines
1363 bytes
I have a project with several forms. Until yesterday all worked fine. Now 
there is one and only one form (the mainform), which can't be shown in the 
designer. Instead the following message appears:

"An error occured while loading the document. Fix the error, and then try 
loading the document again. The error message follows:
The designer can not be shown because deserialization threw an exception: 
Den angivne �ndring er ugyldig"

What can I do?

RB 
Re: deserialization?
#30
Author: RB
Date: Fri, 20 May 2005 14:57
40 lines
2369 bytes
Hi.

I've found a strange workaround.

In lack of better solutions, I remade my form from scratch, using the old 
form as model.

The problem showed op again, when I added a public property to the form.
The getter of the property just returned a private field.

When I comment away the private field, the Form designer shows the form as 
it should,
but the formfile doesn't compile.

When I don't comment away the private field, the Form designer don't show 
the form as it should,
but the formfile do compile and run as it should.

So the workaround, was to move the property to another file.

I have had no succeded in making a small example.

Regards RB


"RB" <rNOSPAMb@newSPAMMENOTmail.dk> skrev i en meddelelse 
news:427d4df7$1@newsgroups.borland.com...
>I have a project with several forms. Until yesterday all worked fine. Now 
>there is one and only one form (the mainform), which can't be shown in the 
>designer. Instead the following message appears:
>
> "An error occured while loading the document. Fix the error, and then try 
> loading the document again. The error message follows:
> The designer can not be shown because deserialization threw an exception: 
> Den angivne �ndring er ugyldig"
>
> What can I do?
>
> RB
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads