JumpStart for Creating a SAX2 Application with Visual Basic

To help you get started building Simple API for XML (SAX2) applications with Microsoft® Visual Basic®, this section shows you how to quickly build an application that uses SAX2 to read an XML document and print the document's contents to a text box.

This JumpStart, which works with Visual Basic 6.0, is provided for reference purposes only. If you want to run the JumpStart application, follow this procedure:

To run the JumpStart application

  1. Download the JumpStart application—available from the MSDN Code Center at https://msdn.microsoft.com/code/—to your computer. To find the JumpStart, search for "Vbsax2jumpstart.exe".

  2. On your computer, double-click VBSAX2jumpstart.exe. Extract the files to your desired directory.

  3. Follow the included directions and build the application.

  4. Run the application. In the File name box, type "Test.xml" and then click Parse. The JumpStart application parses the file and displays the results in the Text2 text box.

This downloadable version contains the complete set of files and differs slightly from the sample application covered in this topic.

To run the JumpStart application, you will need the following:

  • Microsoft XML Core Services (MSXML) version 6.0.

  • Visual Basic 6.0.

This section includes the following topics: