Reading HTML from an ASP page

Discussion in 'ASP General' started by Jonathan Allen, Jan 5, 2005.

  1. Is there a way to read a block of HTML from an ASP page. i.e.

    <%
    Dim someString

    someString = SomeFunction(http://www.test.htm)
    %>


    Jonathan
    Jonathan Allen, Jan 5, 2005
    #1
    1. Advertising

  2. Ray Costanzo [MVP], Jan 5, 2005
    #2
    1. Advertising

  3. Jonathan Allen

    ljb Guest

    "Jonathan Allen" <> wrote in message
    news:...
    > Is there a way to read a block of HTML from an ASP page. i.e.
    >
    > <%
    > Dim someString
    >
    > someString = SomeFunction(http://www.test.htm)
    > %>
    >
    >
    > Jonathan
    >
    >


    Set oXML = CreateObject("Microsoft.XMLHTTP")

    oXML.open "GET", "http://www.microsoft.com", false
    oXML.send

    wscript.echo oXML.responseText
    ljb, Jan 5, 2005
    #3
  4. Thanks all.

    Jonathan

    "ljb" <.> wrote in message news:%...
    >
    > "Jonathan Allen" <> wrote in message
    > news:...
    >> Is there a way to read a block of HTML from an ASP page. i.e.
    >>
    >> <%
    >> Dim someString
    >>
    >> someString = SomeFunction(http://www.test.htm)
    >> %>
    >>
    >>
    >> Jonathan
    >>
    >>

    >
    > Set oXML = CreateObject("Microsoft.XMLHTTP")
    >
    > oXML.open "GET", "http://www.microsoft.com", false
    > oXML.send
    >
    > wscript.echo oXML.responseText
    >
    >
    Jonathan Allen, Jan 5, 2005
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Kamoski
    Replies:
    1
    Views:
    7,069
  2. Wael Soliman

    ASP.NET Reading problem (reading .xls)

    Wael Soliman, Jan 3, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    4,779
    =?Utf-8?B?dmluYXk=?=
    Jan 3, 2005
  3. Stu
    Replies:
    2
    Views:
    777
    Rob McAninch
    Apr 6, 2004
  4. Chuck
    Replies:
    0
    Views:
    239
    Chuck
    Jul 5, 2003
  5. Duke
    Replies:
    1
    Views:
    151
    Tom de Neef
    Apr 18, 2008
Loading...

Share This Page