<!-- Article image -->
<!-- Add the rest of your HTML here -->
This code exports database fields to XML document. You can use this code for data export processes. I used Microsoft Visual C++ 6.0 for coding. Let me give some information about code;
I used db2xml.mdb as a sample database. Database has one table and that table has two fields, named Name, Surname. I used ADO 1.5 for connecting to database and again i used MSXML 3.0 for exporting data from database. Maybe you should change some code in stdafx.h. Because it has two hard coded #import directives like that;
<FONT color=#0000ff>#import</FONT> "C:\Program Files\Common Files\System\ado\msado15.dll" \
rename( "EOF", "adoEOF" )
<FONT color=#0000ff>#import</FONT> "c:\winnt\system32\msxml3.dll" named_guids raw_interfaces_only
<FONT color=#0000ff>using namespace MSXML2;</FONT>
Last note; copy db2xml.mdb and db2xml.exe files into same directory.
<FONT color=#ff9900 size=4>What You Need:
Have an installed MDAC and MSXML 3.0
Lets meet at new projects, i hope.
Please send any comments or bug reports to me via email.
I'm VC++ Programmer.