Instructions for Running the Walk the SOM Application (Visual Basic)

 

[This sample application uses features that were first implemented in MSXML 4.0.]

Note

The following sample assumes that you are using a computer with Visual Basic installed.

To run the application

  1. Open Notepad.

  2. Copy the XML document, po.xml. Paste it into the Notepad window.

  3. From the File menu, click Save As. Save the file as po.xml to a folder on your computer.

  4. From the File menu, click New.

  5. Copy the XML Schema document, po.xsd. Paste it into the Notepad window.

  6. From the File menu, click Save As. Save the file as po.xsd to the same folder in which you saved po.xml.

  7. Open Visual Basic.

  8. Create a new project as a "Standard EXE".

  9. Add a textbox to the form

  10. Set the textbox properties MultiLine = True and ScrollBars = Both.

  11. Open the Code window by selecting Code from the View menu.

  12. Copy the Uncommented Code for the Walk the SOM Application (Visual Basic). Paste it into the Code window.

  13. Set a reference for MSXML 6.0 by selecting References... from the Project menu. In the References - Project Name window, scroll down to Microsoft XML, v6.0, and check the box on the left. Click OK.

  14. From the File menu, click Save Project As. Save the form as po.frm and the project as po.vpj to the same folder in which you saved po.xml and po.xsd.

  15. Run the project by selecting Start from the Run menu. A new window will be displayed with the schema information in a textbox.