advertisement

Find Code  Advanced Search   

Free Newsletters:   
browse free vb code
Submit Code
ASP,  HTML, and XML
Database
Dates  and Math
Files  and Directories
Forms  and Controls
Lists,  Collections, and Arrays
Miscellaneous
Multimedia/Games
Office/VBA
Network/Internet
Registry
Screen/Graphics
String  Manipulation
System/API
Windows  2000/XP
VB.NET/ASP.NET



advertisement
Save Recordsets To/Load Recordsets From XML Files Using ADO 2.5

Author: Intelligent Solutions Inc. (Featured Developer)
Category: ASP, HTML, and XML
Type: Snippets
Difficulty: Beginning

Version Compatibility:  Visual Basic 5   Visual Basic 6

More information: These two functions allow you to save recordsets to an XML file and open a recordset from an XML file in ADO 2.5. The recordset's save method writes extended schema information to the XML file; this information is required to open an XML file into a recordset.

For an alternative way to write recordsets to XML files, in which extended schema information is not written and you have more control over XML file's layout, see the class at http://www.freevbcode.com/ShowCode.Asp?ID=312

This code has been viewed 132480 times.

Instructions: Copy the declarations and code below and paste directly into your VB project.


Declarations:

Code:

No Text Boxes

Sponsored Links


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers