Larry Brister
asked on
Invalid xml
In the following VB how do I handle it if there is invalid text when loading the XmlDoc with (text)?
Dim XmlDoc As New XmlDocument()
XmlDoc.LoadXml(text)
I don't want ti go to a catch...
I want to set a variable to "Error on file" and then a GoTo
Dim XmlDoc As New XmlDocument()
XmlDoc.LoadXml(text)
I don't want ti go to a catch...
I want to set a variable to "Error on file" and then a GoTo
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That's what I thought. Thanks