Click here to Skip to main content
15,923,557 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Convert a string to expresion Pin
zaxos11-Feb-05 3:45
zaxos11-Feb-05 3:45 
GeneralSerialize help Pin
MrBean9-Feb-05 3:27
MrBean9-Feb-05 3:27 
GeneralRe: Serialize help Pin
Dave Kreskowiak9-Feb-05 16:51
mveDave Kreskowiak9-Feb-05 16:51 
GeneralRe: Serialize help Pin
Anonymous9-Feb-05 21:38
Anonymous9-Feb-05 21:38 
GeneralRe: Serialize help Pin
MrBean9-Feb-05 21:41
MrBean9-Feb-05 21:41 
GeneralRe: Serialize help Pin
Dave Kreskowiak10-Feb-05 5:45
mveDave Kreskowiak10-Feb-05 5:45 
GeneralRe: Serialize help Pin
MrBean10-Feb-05 20:54
MrBean10-Feb-05 20:54 
GeneralRe: Serialize help Pin
Dave Kreskowiak12-Feb-05 3:03
mveDave Kreskowiak12-Feb-05 3:03 
OK. I didn't see this before, but since you have a complex object (MyReport) with a second level of serialization (ArrayList), the XML Formatter won't go into the ArrayList to serialize it. In other words, the XML Formatter is a Shallow formatter.

This article, Object Serialization in Visual Basic .NET[^], on MSDN will show you a handful of different scenarios for serializing different objects.

You can implement the ISerializable interface in your Report object and supply custom formatter code to get it to work with the XML Formatter. If you don;t want to do that, you'll have to switch to using one of the Deep formatters, either the Binary or SOAP formatters.

I would suggest implementing the ISerializable interface. It'll give your Serialization experience a very useful boost for future projects.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralHelp Recording Audio Pin
GeneArnold9-Feb-05 3:12
GeneArnold9-Feb-05 3:12 
GeneralRe: App.Path (vb.net) Pin
Just Greeky Creek9-Feb-05 0:16
Just Greeky Creek9-Feb-05 0:16 
GeneralRe: App.Path (vb.net) Pin
Ritesh12349-Feb-05 0:23
Ritesh12349-Feb-05 0:23 
GeneralCustom Shaped Window (form) Pin
Member 86210338-Feb-05 22:49
Member 86210338-Feb-05 22:49 
GeneralRe: Custom Shaped Window (form) Pin
Just Greeky Creek9-Feb-05 0:18
Just Greeky Creek9-Feb-05 0:18 
GeneralRe: Custom Shaped Window (form) Pin
Kumar saurabh9-Feb-05 20:16
Kumar saurabh9-Feb-05 20:16 
GeneralRe: Custom Shaped Window (form) Pin
Just Greeky Creek9-Feb-05 20:44
Just Greeky Creek9-Feb-05 20:44 
QuestionCan someone help with this one Pin
Delo8-Feb-05 19:58
Delo8-Feb-05 19:58 
AnswerRe: Can someone help with this one Pin
Dave Kreskowiak9-Feb-05 2:36
mveDave Kreskowiak9-Feb-05 2:36 
QuestionHow To Search in Database in Access Using Adodc Pin
Max's8-Feb-05 19:56
sussMax's8-Feb-05 19:56 
Generalget_URL Pin
students552 university8-Feb-05 19:44
students552 university8-Feb-05 19:44 
QuestionHow can I corrupt a folder or restrict the access to it? (VB 6) Pin
AngryC8-Feb-05 17:55
AngryC8-Feb-05 17:55 
AnswerRe: How can I corrupt a folder or restrict the access to it? (VB 6) Pin
Christian Graus9-Feb-05 10:05
protectorChristian Graus9-Feb-05 10:05 
AnswerRe: How can I corrupt a folder or restrict the access to it? (VB 6) Pin
Dave Kreskowiak9-Feb-05 10:14
mveDave Kreskowiak9-Feb-05 10:14 
QuestionHow can I change the file/folder index? (VB 6) Pin
AngryC8-Feb-05 17:54
AngryC8-Feb-05 17:54 
AnswerRe: How can I change the file/folder index? (VB 6) Pin
Dave Kreskowiak9-Feb-05 16:43
mveDave Kreskowiak9-Feb-05 16:43 
QuestionHow can I hide the size of a hidden folder? (VB 6) Pin
AngryC8-Feb-05 17:53
AngryC8-Feb-05 17:53 

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.