Communicating With XML Files

Communicating With XML Files

Start a new VB project. Add a form (or use the default one). Then, add these four buttons on the form: create (cmdCreateFile), read (cmdRead), append (cmdAppend), and delete (cmdDelete). Add a data-entry textbox (txtAppend) to the form. Reference the MSXML3.DLL file listed as Microsoft XML, v3.0 in the references dialog box. Add the following code to the form:

 Option ExplicitPrivate m_xDoc                  As MSXML2.DOMDocumentPrivate Const Cnst_xFileName As String =


Share the Post: