Well, I just figured out that this code snippet wasn't from your book, (I have) but from your vb
-helper web site.
Now I understand the purpose of serializing data and it makes sense to me. Allows working with layers I suspect. Here's the snippet I'm having a problem with.
Dim xml_serializer As New XmlSerializer(GetType(DrawablePicture))
Dim file_stream As New FileStream(file_name, FileMode.Open)
Dim new_picture As DrawablePicture = _
DirectCast(xml_serializer.Deserialize(file_stream) , DrawablePicture)
The above is from the DrawablePicture.class.
I hope I'm not just throwing you for a loop.