Using MSXML3.0 with VB 6.0
(Page 1 of 5 )
If you're a VB programmer interested in learning how to parse and process XML documents, and use them in your applications, this article can help. You'll learn about MSXML properties, how to create an XML document using VB 6.0, and more.
Introduction
The COM based Microsoft XML Core Services, MSXML for short, is used in the parsing and processing of XML documents. The version used in this tutorial is MSXML 3.0, which has three dlls. When you reference the MSXML 3.0 you will be using the msxml3.dll. This version is installed in the side-by-side mode which implies that the previously installed older versions are not replaced. It is installed with Windows XP OS. The tutorial uses the W3C DOM (Document Object Model) which allows the user to navigate and manipulate the XML document through its various methods and properties. This tutorial uses the same XML document used in the earlier tutorial at this site. It is recommended that the reader reviews the earlier article.
Adding a reference to your VB Project
Before you start using MSXML 3.0, you should add a reference to the MSXML 3.0 library. This is easily done by accessing the References drop-down menu item when you click on Project in the main menu as shown. There may be several versions on your machine (there are about five on this machine) depending on several factors, but you can identify it in the References window if you have it on your machine.

Next: MSXML Document30 Properties and Methods >>
More XML Articles
More By Jayaram Krishnaswamy