Visual Basic 6.0
Visual Basic 6.0
Load XML from Local FilePath
Demonstrates how to load XML from a local XML file.Chilkat Visual Basic 6.0 Downloads
Dim success As Long
success = 0
Dim xml As New ChilkatXml
' Pass either an absolute file path, or a file path relative from the current working directory of the caller.
success = xml.LoadXmlFile("qa_data/hamlet.xml")
If (success = 0) Then
Debug.Print xml.LastErrorText
Exit Sub
End If
Debug.Print "Success."