VB.NET
VB.NET
Load XML from Local FilePath
Demonstrates how to load XML from a local XML file.Chilkat VB.NET Downloads
Dim success As Boolean = False
Dim xml As New Chilkat.Xml
' 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 = False) Then
Debug.WriteLine(xml.LastErrorText)
Exit Sub
End If
Debug.WriteLine("Success.")