Private Sub cmdMakeXmlFile_Click()Dim db_name As StringDim conn As ADODB.ConnectionDim rs As ADODB.RecordsetDim dom_document As DOMDocument ' Get the database's name. db_name = txtDatabase.Text ' Open the connection. Set conn = New ADODB.Connection conn.ConnectionString = _ "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Persist Security Info=False;" & _ "Data Source=" & db_name conn.Open ' Open the Recordset. Set rs = conn.Execute("SELECT * FROM Books ORDER BY " & _ "Title") ' Save the data into a DOMDocument. Set dom_document = New DOMDocument rs.Save dom_document, adPersistXML rs.Close conn.Close ' Save the XML data into an XML file. db_name = Replace$(db_name, ".mdb", ".xml") dom_document.Save db_name MsgBox "Now move the XML file to a HTTP site."End Sub