Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics 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 December 16th, 2003, 06:16 PM
Registered User
 
Join Date: Dec 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default help with saving Collection to XML

I've used the examples in the vb.net 2nd edition to build a form so that I can add items to a collection and save it to an XML file. I can successfully add a single item into the collection and then save it to XML but I cannot figure out how to get it to do multiple.

I think I'm missing something small... can anyone look at my code and help out?

here's where the code will be tonight:
http://members.cox.net/alevey/vb_help.zip

I appreciate any help I can get!!!


 
Old December 18th, 2003, 03:32 PM
Registered User
 
Join Date: Nov 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The page cannot be found...

 
Old December 22nd, 2003, 08:34 PM
Authorized User
 
Join Date: Oct 2003
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have also used (Beginning) VB.NET 2nd Edition (Chapter 18) to create my own form that saves a collection to an XML file.

The only problem I struck was not following the instruction that reads "Before running the project, it's very important that you delete the existing xml file...".

If you previously ran the project with a "single entry" before developing the collection, the xmlserializer will attempt to load the collection from the "single entry" xml file.

I hope that makes sense.








Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving DataView as XML unprsandeep ADO.NET 9 May 26th, 2007 02:12 AM
Problem creating temp XML SCHEMA COLLECTION bijgupt SQL Server 2005 0 May 3rd, 2007 11:58 PM
Translating a XML with XSL and saving results DevOne XML 1 April 9th, 2005 07:32 AM
Saving XML HELP!!! busher XML 2 November 23rd, 2004 12:34 PM
saving xml shine Classic ASP XML 1 July 22nd, 2003 08:12 AM





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