Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Reading HTML from an ASP page

Reply
Thread Tools

Reading HTML from an ASP page

 
 
Jonathan Allen
Guest
Posts: n/a
 
      01-05-2005
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


 
Reply With Quote
 
 
 
 
Ray Costanzo [MVP]
Guest
Posts: n/a
 
      01-05-2005
http://www.aspfaq.com/search.asp?q=H...emote+web+page

--

Ray at work
Microsoft ASP/ASP.NET MVP


"Jonathan Allen" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
 
 
 
ljb
Guest
Posts: n/a
 
      01-05-2005

"Jonathan Allen" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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


 
Reply With Quote
 
Jonathan Allen
Guest
Posts: n/a
 
      01-05-2005
Thanks all.

Jonathan

"ljb" <.> wrote in message news:%(E-Mail Removed)...
>
> "Jonathan Allen" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Load HTML page into another HTML page using Javascript Duke Javascript 1 04-18-2008 12:16 PM
How to display a html page after the original html page runs a perl script Stu HTML 2 04-06-2004 05:19 AM
how to redirect to a frames-based html page and load the right html when coming from an ASP.NET page Mark Kamoski ASP .Net 1 08-13-2003 05:51 AM
Calling a html page from an asp page then returning to the next statement on the original asp page Chuck ASP General 0 07-05-2003 02:00 AM



Advertisments