Click here to Skip to main content
15,920,896 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: accessing form member from another form Pin
acecase21-Jan-04 3:53
acecase21-Jan-04 3:53 
GeneralSerialising objects which change alot Pin
cnurse17-Jan-04 0:12
cnurse17-Jan-04 0:12 
GeneralRe: Serialising objects which change alot Pin
Colin Angus Mackay17-Jan-04 3:08
Colin Angus Mackay17-Jan-04 3:08 
GeneralRe: Serialising objects which change alot Pin
cnurse17-Jan-04 21:24
cnurse17-Jan-04 21:24 
GeneralRe: Serialising objects which change alot Pin
Colin Angus Mackay18-Jan-04 0:46
Colin Angus Mackay18-Jan-04 0:46 
GeneralRe: Serialising objects which change alot Pin
cnurse18-Jan-04 1:24
cnurse18-Jan-04 1:24 
GeneralRe: Serialising objects which change alot Pin
Ray Cassick19-Jan-04 16:51
Ray Cassick19-Jan-04 16:51 
GeneralRe: Serialising objects which change alot Pin
cnurse20-Jan-04 2:06
cnurse20-Jan-04 2:06 
Ray,

Replies like yours are the reason I love this web site, well thought out, constructive and strictly in the vein of the problem. Thanks you.

I think I have a partially thought out solution...

If I serialize class A and want to add members to it then I should derive A using class B and add the members there. I can call A.Serialize from B.SerializeOldVersion, get me? Then I can B.Serialize and B.Deserialize and all my new members will be handled correcly.

OK, its partially thought out because if there are relating objects then those relationships could mudy the water somewhat. But in theory, this meets the "don't change your interfaces" school of thought. I think deriving would certainly be the way through to data conversion though, then effectively you can roll all the stuff up into one class again.

My ambitious thoughts are in this area though. As I am using SOAP format for serialization as oppose to binary format, at least for the time being (there's nothing quite like being able to see your megabytes of data in text format hehehe) well...to cut a long one short, there ought to be a structured way of massaging the data. i.e. you could write an XML parser, which a very good friend of ours on here has done recently, and insert the new fields where neccessary...then hey presto. I think there is definite potential in this approach.

Again, your additional thoughts are very welcome.


Many thanks.



Nursey
GeneralH-E-L-P!!! please.... Pin
Anonymous16-Jan-04 21:42
Anonymous16-Jan-04 21:42 
GeneralRe: H-E-L-P!!! please.... Pin
cnurse16-Jan-04 23:56
cnurse16-Jan-04 23:56 
GeneralRe: H-E-L-P!!! please.... Pin
acecase17-Jan-04 0:48
acecase17-Jan-04 0:48 
GeneralRe: H-E-L-P!!! please.... Pin
Anonymous17-Jan-04 3:39
Anonymous17-Jan-04 3:39 
GeneralRe: H-E-L-P!!! please.... Pin
cnurse17-Jan-04 21:44
cnurse17-Jan-04 21:44 
QuestionEvents-Application Idle -Help? Pin
Member 76608416-Jan-04 18:25
Member 76608416-Jan-04 18:25 
AnswerRe: Events-Application Idle -Help? Pin
gpa200021-Jan-04 4:15
gpa200021-Jan-04 4:15 
GeneralRegistry Pin
Jblake0016-Jan-04 4:46
Jblake0016-Jan-04 4:46 
Questionany caller id supporting modem available in india ? Pin
Mohan G16-Jan-04 4:32
Mohan G16-Jan-04 4:32 
AnswerRe: any caller id supporting modem available in india ? Pin
Sarvesvara (BVKS) Dasa28-Mar-04 0:06
Sarvesvara (BVKS) Dasa28-Mar-04 0:06 
GeneralOne more Help Please!! Pin
Het210916-Jan-04 1:41
Het210916-Jan-04 1:41 
GeneralRe: One more Help Please!! Pin
Jblake0016-Jan-04 4:41
Jblake0016-Jan-04 4:41 
GeneralRe: One more Help Please!! Pin
Niels Penneman16-Jan-04 6:08
Niels Penneman16-Jan-04 6:08 
GeneralNiel, Pin
Het210916-Jan-04 18:17
Het210916-Jan-04 18:17 
GeneralRe: One more Help Please!! Pin
Guillermo Rivero16-Jan-04 8:55
Guillermo Rivero16-Jan-04 8:55 
GeneralGuillermo! u are great,, Pin
Het210916-Jan-04 18:13
Het210916-Jan-04 18:13 
GeneralRe: Guillermo! u are great,, Pin
Guillermo Rivero16-Jan-04 18:19
Guillermo Rivero16-Jan-04 18:19 

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

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