Wrox Programmer Forums
|
BOOK: Beginning Microsoft Visual Basic 2008 ISBN: 978-0-470-19134-7
This is the forum to discuss the Wrox book Beginning Microsoft Visual Basic 2008 by Thearon Willis, Bryan Newsome; ISBN: 9780470191347
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Microsoft Visual Basic 2008 ISBN: 978-0-470-19134-7 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 21st, 2009, 07:59 PM
Registered User
 
Join Date: Jan 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 20 - XML save file error

On page 683 in the code to save an xml file is written:
Code:
Save(stream)
"stream" gets waves below it and I get the error message "Value of type 'System.IO.FileStream' cannot be converted to string".

I can't find an error or typo in my code and tried the downloaded code as well, so is there an error in the book? There's nothing about it in the errata (yet).
How to correct this?

Thanks,
Bart

Last edited by Bart; October 21st, 2009 at 08:30 PM..
 
Old October 22nd, 2009, 04:04 PM
Registered User
 
Join Date: Jan 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm sorry, I forgot the sub below the part with the 'faulty' code
Everything seems to be working fine now

Bart





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 20, p.987 Runtime Error Spasticus BOOK: Ivor Horton's Beginning Visual C++ 2005 0 January 17th, 2008 04:05 AM
Save database schema to XML file brettk_1 General .NET 2 September 16th, 2006 04:27 AM
save word formfields into an xml file manjugv Word VBA 0 May 1st, 2006 04:44 PM
Can't save XMLDoc to a xml file using JScript induriprakash Javascript 2 May 13th, 2005 02:44 PM
How to save XML file using JScript/DOM in IE induriprakash XML 2 April 26th, 2005 07:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.