|
-
Aug 3rd, 2006, 06:27 PM
#1
Thread Starter
Lively Member
web page
i was just wondering if it is posible to read the source code of a web page in visual basic i know its posible n asp cause ive tried it n it worked but is there any way of converting it into vb the code for asp is shown below
<%
Response.Buffer = True
Dim objXMLHTTP, xml
' Create an xmlhttp object:
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
' Opens the connection to the remote server.
xml.Open "GET","http://www.mywebpage.htm", False
' Actually Sends the request and returns the data:
xml.Send
'Display the HTML both as HTML and as text
Response.Write "<h1>The HTML text</h1><xmp>"
response.Write xml.responseText
Response.Write "</xmp>"
Set xml = Nothing
%>
thanx
*********** "why do things that are suspose to bad for us taste so good, whats ur addiction"
Kanye West **********
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|