Click here to Skip to main content
   

C#

 
GeneralRe: ColorDialog. PinmemberPHS2418-Dec-12 23:09 
GeneralRe: ColorDialog. PinmemberZac Greve9-Dec-12 6:52 
GeneralRe: ColorDialog. PinmemberPHS2419-Dec-12 22:35 
GeneralRe: ColorDialog. PinmemberZac Greve10-Dec-12 7:10 
GeneralRe: ColorDialog. PinmemberZac Greve10-Dec-12 7:15 
GeneralRe: ColorDialog. PinmemberPHS24110-Dec-12 7:21 
GeneralRe: ColorDialog. PinmemberZac Greve10-Dec-12 10:16 
QuestionDbConnectionBuilder and class question PinmemberMember 82084966-Dec-12 9:21 
AnswerRe: DbConnectionBuilder and class question PinmemberEddy Vluggen6-Dec-12 15:30 
QuestionNo scrollbars when executing program on another PC [Solved] PinmemberMember 96474616-Dec-12 8:43 
AnswerRe: No scrollbars when executing program on another PC PinmemberAlan N6-Dec-12 14:32 
QuestionCompare rows of a datagridview and remove repeated rows PinmemberGREG_DORIANcod6-Dec-12 7:12 
AnswerRe: Compare rows of a datagridview and remove repeated rows PinmemberMember 96474616-Dec-12 9:30 
Question[OptionalField] prevents deserialization [SOLVED] [modified] PinmemberAlan Balkany6-Dec-12 6:20 
Hi all,

Adding an optional field to my class instantly prevents older versions from being deserialized:
        [OptionalField]
        public Aurigma.GraphicsMill.Bitmap origStaticImage = null;
This is baffling; optional fields are supposed to PREVENT this! The [NonSerialized] attribute produces the same behavior. I have many other optional fields in this class that have been added over the years, and they work perfectly. If I remove the field, I can again deserialize older versions.

Any suggestions how to get around this? Thanks!

====================

Solved it; an exception was being thrown in my RunAfterDeserialization method, making it appear that deserialization had failed. Doh!
"Microsoft -- Adding unnecessary complexity to your work since 1987!"


modified 6-Dec-12 11:50am.

QuestionShare datalayer in memory PinmemberRICARDOR2708746-Dec-12 6:14 
AnswerRe: Share datalayer in memory PinmemberEddy Vluggen6-Dec-12 6:32 
QuestionLocalize ColorDialog PinmemberDavid Knechtges6-Dec-12 5:28 
AnswerRe: Localize ColorDialog PinmemberZac Greve7-Dec-12 18:23 
QuestionHow to get enum as parameter thru interface PinmemberMichCl6-Dec-12 5:00 
AnswerRe: How to get enum as parameter thru interface PinmentorDaveyM696-Dec-12 5:08 
AnswerRe: How to get enum as parameter thru interface PinmemberPIEBALDconsult6-Dec-12 5:55 
QuestionWhat would be the best approach for screen sharing c# PinmemberTridip Bhattacharjee5-Dec-12 22:00 
AnswerRe: What would be the best approach for screen sharing c# PinmemberEddy Vluggen6-Dec-12 6:28 
GeneralRe: What would be the best approach for screen sharing c# PinmemberTridip Bhattacharjee6-Dec-12 20:54 
GeneralRe: What would be the best approach for screen sharing c# PinmemberEddy Vluggen7-Dec-12 2:20 
QuestionExtending OpenFileDialog to select folder and file simultaneously Pinmemberhemant.4oct5-Dec-12 20:57 
AnswerRe: Extending OpenFileDialog to select folder and file simultaneously PinmvpRichard MacCutchan5-Dec-12 22:41 
GeneralRe: Extending OpenFileDialog to select folder and file simultaneously Pinmemberhemant.4oct5-Dec-12 23:16 
GeneralRe: Extending OpenFileDialog to select folder and file simultaneously PinmemberEddy Vluggen6-Dec-12 3:28 
GeneralRe: Extending OpenFileDialog to select folder and file simultaneously PinmvpRichard MacCutchan6-Dec-12 3:45 
Questionimage processing PinmemberBishwajit Nepali5-Dec-12 20:52 
AnswerRe: image processing PinmvpRichard MacCutchan5-Dec-12 22:34 
AnswerRe: image processing Pinmemberlukeer6-Dec-12 0:45 
QuestionHow to read data from crl file in C# PinmemberGramulos5-Dec-12 20:12 
AnswerRe: How to read data from crl file in C# PinmvpRichard MacCutchan5-Dec-12 22:32 
AnswerRe: How to read data from crl file in C# PinmemberEddy Vluggen6-Dec-12 3:34 
QuestionMultiThreading PinmemberMAW305-Dec-12 18:49 
AnswerRe: MultiThreading PinmvpDave Kreskowiak5-Dec-12 19:28 
GeneralRe: MultiThreading [modified] PinmemberMAW305-Dec-12 19:40 
GeneralRe: MultiThreading PinmvpDave Kreskowiak6-Dec-12 2:45 
Questionimage processing PinmemberBishwajit Nepali5-Dec-12 18:37 
AnswerRe: image processing PinmvpDave Kreskowiak5-Dec-12 19:17 
AnswerRe: image processing PinmemberMycroft Holmes5-Dec-12 19:35 
GeneralRe: image processing PinmemberAdam R Harris6-Dec-12 10:13 
GeneralRe: image processing PinmemberMycroft Holmes6-Dec-12 12:58 
QuestionC# make executabloe a dll Pinmembersc steinhayse5-Dec-12 17:43 
AnswerRe: C# make executabloe a dll PinmvpAbhinav S5-Dec-12 18:04 
AnswerRe: C# make executabloe a dll PinmemberPIEBALDconsult5-Dec-12 19:08 
GeneralRe: C# make executabloe a dll Pinmembersc steinhayse6-Dec-12 8:22 
GeneralRe: C# make executabloe a dll PinmemberPIEBALDconsult6-Dec-12 9:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.150331.1 | Last Updated 1 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid