S
Shapper
Hello,
I need to load a XML file and call a function if it wasn't possible.
I have this:
Sub Build_RSS()
Dim news As New XmlDocument()
If news.Load("http://www.domain.com/news.rss") Then
' Do Actions
Else
Display_Error("File not Found")
End If
End Sub
However the page gets an error when the URL of the file is wrong instead
of displaying my custom error. How can I solve this?
Thanks,
Miguel
I need to load a XML file and call a function if it wasn't possible.
I have this:
Sub Build_RSS()
Dim news As New XmlDocument()
If news.Load("http://www.domain.com/news.rss") Then
' Do Actions
Else
Display_Error("File not Found")
End If
End Sub
However the page gets an error when the URL of the file is wrong instead
of displaying my custom error. How can I solve this?
Thanks,
Miguel