Parsing an XML document at a remote URL using VB 6.0

I am trying to parse the contents of an xml file resident on a remote server in Visual Basic 6.0 using a class MSXML2.DOMDocument.

I am using a Loadclass method MSXML2.DOMDocumentto pass in a url. The URL looks like http://<server>/ABC.xml, but the server requires user credentials to access the file.

How to pass user credentials using this class or another supporting class?

+2
source share
1 answer

In many cases, you can use http://<username>:<password>@<server>/ABC.xml, or you can use a helper object XMLHTTPRequestto execute actual queries.

, DOMDocument MSXML, , . , , - DOM, .

+2

All Articles