I just searched the VB.NET forum for xmlserializer and this was the second result, after this very thread. I'm guessing that's where you got that code from but at the end it has an example of using an XmlSerializer. You really didn't look very hard.