Results 1 to 3 of 3

Thread: DOM & XML - Something which can't be solved... apparently!

  1. #1

    Thread Starter
    Fanatic Member VisionIT's Avatar
    Join Date
    Nov 2002
    Location
    Workin'...
    Posts
    718

    DOM & XML - Something which can't be solved... apparently!

    Hi Peeps.

    Is there ANY way I can get a DOM script in VB to get XML data from an internal IP address or DNS?

    My current DOM script works perfectly with sites on the web, but I simply cannot find any script or changes to the current script to make it resolve both internal and external XML files.

    Script:
    VB Code:
    1. Dim xDoc As MSXML.DOMDocument
    2. Dim objPlugIn As Object
    3.    Dim strResponse As String
    4.    Dim Indentity As String
    5. Set xDoc = New MSXML.DOMDocument
    6. xDoc.async = False
    7. newticketinqueue = False
    8. If xDoc.Load(<ADDRESS HERE>) Then
    9.    ' The document loaded successfully.
    10.    ' Now do something intersting.
    11.    DisplayNode xDoc.childNodes, 0
    12.    error = False

    Can anyone help?

    Ta.

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    There is also an XMLHTTP object which lets you grab xml over a http address.

    Perhaps that will do?

    http://www.perfectxml.com/MSXMLHTTP.asp
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    Fanatic Member VisionIT's Avatar
    Join Date
    Nov 2002
    Location
    Workin'...
    Posts
    718

    Smile

    You Beauty!!!!

    I'll try that ASAP.

    Cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width