-
Sample Code
I need to take some MDB files, and use VB/ADO to open
them then store the data in XML files. I do not want
to re-invent the wheel. Any specific sample code or
URLs to web sites that would cover this?
-
Re: Sample Code
Bill Putnam wrote in message <38dbb815$1@news.devx.com>...
>
>I need to take some MDB files, and use VB/ADO to open
>them then store the data in XML files. I do not want
>to re-invent the wheel. Any specific sample code or
>URLs to web sites that would cover this?
Following is copied from an earlier post. (I hope that's OK, David)
I thought that the easiest way to write an XML file is by using the
recordset
save method:
Dim file_name as string
file_name = "c:\xml\xml_tst.xml"
Dim rs as recordset
'--establish connection
'--open the recordset
Rs.save "file_name", adPersistXML
And the XML file is created with no other work. This requires ADO 2.5
David
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks