Question : How do I manipulate (write and read) a xml file in VB6?

Hi All,

My problem is...

I work for Retailing Management System. Front end is VB6, back end SQL Server 2005. My application has an interface called Item Fetch to select an item from a item list. The Item Fetch interface fetches all 20,000 items from the db server every time an item is selected. Around 50 sales counters are accessing the db server simultaneously. So the db server is over loaded, and the performance of my application gets reduced.

My plan is...

Fetch all 20,000 items from the db server only once, and save those in a file (preferably xml file) in the local machine. So that my fetch interface will load items from the local file. Thus the db server is free from item fetch queries.

My question is...

1. Does my idea sound good? If not, plz give your suggestion.
2. Which file format should i use to save around 20,000 items? xml or any other format? Hopefully csv (comma separated values) may not be suitable since item desc may have commas.
3. How do I manipulate (write and read) a xml file in VB6?

Thank you in advance.
Regin T.

Answer : How do I manipulate (write and read) a xml file in VB6?

VB6: XML and How To Read It With Visual Basic
http://www.nonhostile.com/howto-xml-vb6.asp

Getting Started with VB 6 and XML
http://www.informit.com/articles/article.aspx?p=25084

Creating XML documents with the DOM in VB6
http://articles.techrepublic.com.com/5100-10878_11-1044759.html
Random Solutions  
 
programming4us programming4us