๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.ide.general
Article #30

Re: deserialization?

#30
From: 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
> 
Technical Details
Message-ID: <428dface$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!newshub.sdsu.edu!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <427d4df7$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 165859,56fae861e8cfb16
X-Google-Attributes: gid165859,public
X-Google-Language: ENGLISH,ASCII
From: "RB" <rNOSPAMb@newSPAMMENOTmail.dk>
Newsgroups: borland.public.csharpbuilder.ide.general
References: <427d4df7$1@newsgroups.borland.com>
Subject: Re: deserialization?
Date: Fri, 20 May 2005 16:57:33 +0200
Lines: 42
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
NNTP-Posting-Host: 83.94.181.233
Message-ID: <428dface$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1116601038 83.94.181.233 (20 May 2005 07:57:18 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!newshub.sdsu.edu!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail