How to get the HTML source code of other domains 
Author Message
 How to get the HTML source code of other domains

How to get the HTML source code of other domains by using File System
Object?
Since File System Object seems only support local file system e.g IIS, how
to open document that is located on different domain?

Thanks,

Carlo



Fri, 27 Jun 2003 17:04:38 GMT  
 How to get the HTML source code of other domains
As you have said, FSO only reads from a file system, to get an HTML page you
need a component that talks HTTP.  There are a few you can d/l
(www.serverobjects.com) and there are some that come with VB (INET control).
Or you can use a sockets control and send the relevant HTTP requests
yourself.


Quote:
> How to get the HTML source code of other domains by using File System
> Object?
> Since File System Object seems only support local file system e.g IIS, how
> to open document that is located on different domain?

> Thanks,

> Carlo



Fri, 27 Jun 2003 19:13:12 GMT  
 How to get the HTML source code of other domains
Carlo have a look at
http://serverobjects.com/products.htm#asphttp

--
Best regards,
Tony Ray
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BillingsDINE
http://www.billingsdine.com
A directory for Billings, Montana
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Sat, 28 Jun 2003 01:20:14 GMT  
 How to get the HTML source code of other domains
Many thanks to all.

How can I use the Inet control directly in ASP. I have tried many times by
using createobject but failed.

How come could they (www.serverobjects.com) develop a .dll by using the Inet
control?

Thanks,

Carlo



Sat, 28 Jun 2003 09:05:58 GMT  
 How to get the HTML source code of other domains
msinet.ocx is a licensed control.

Try using the "msxml2.xmlhttp" object (IE5 and higher unless separately
installed)...

set http = createobject("msxml2.xmlhttp")
sURL = "http://www.microsoft.com/ms.htm"
http.open "GET",sURL,false
http.send
sHtml = http.responsetext
msgbox sHtml

XMLHttpRequest Object
http://msdn.microsoft.com/library/psdk/xmlsdk/xmld8bp0.htm

--
Michael Harris
Microsoft.MVP.Scripting
--

Please do not email questions - post them to the newsgroup instead.
--


Quote:
> Many thanks to all.

> How can I use the Inet control directly in ASP. I have tried many times by
> using createobject but failed.

> How come could they (www.serverobjects.com) develop a .dll by using the
Inet
> control?

> Thanks,

> Carlo



Sat, 28 Jun 2003 14:07:24 GMT  
 How to get the HTML source code of other domains
http://www.aspfree.com/authors/adrian/geturltext.asp


Quote:
> Many thanks to all.

> How can I use the Inet control directly in ASP. I have tried many times by
> using createobject but failed.

> How come could they (www.serverobjects.com) develop a .dll by using the
Inet
> control?

> Thanks,

> Carlo



Sat, 28 Jun 2003 17:16:53 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. Looking for Public Domain source code for Basic Interpreter

2. Any public domain charting source code?

3. getting html source

4. Getting Source HTML from a Web Page

5. Getting HTML source from Internet

6. Getting HTML source from IE

7. Getting HTML source from Webbrowser control

8. Getting HTML source from IE

9. Getting the HTML into a variable, the View Source

10. getting html source only, using webbrowser control

11. WebBrowser Control in VB 6: Getting to the HTML Source

12. WebBrowser Control & Getting HTML Source

 

 
Powered by phpBB® Forum Software