Hello everybody,

i search an Object to get an internetsite to a local file. It must send two
parameters within the Adress and the Internetserver send back an File.
Anybody know how?

Thanks

Firas

RE: Get an Internetsite? by v-lwang

v-lwang
Mon Sep 01 04:33:36 CDT 2003

Hi Firas,

You can use XMLHTTP to get the webpage on the website as a string. Here is
a code snippet for demonstration.

Private Sub Command1_Click()
Dim HttpReq As New MSXML2.XMLHTTP40
HttpReq.open "GET", "http://XMLSampleServer/CatalogServer.asp", False
HttpReq.send
MsgBox HttpReq.responseText //You
End Sub

You may check the following links for more information:

Save file between servers by client
http://groups.google.com/groups?hl=en&lr=lang_zh-CN|lang_zh-TW|lang_nl|lang_
en&ie=UTF-8&selm=%23y3boNu6BHA.2488%40tkmsftngp04&rnum=4

IXMLHTTPRequest
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/htm/
xml_obj_ixmlhttprequest_8bp0.asp

Does this answer your question? Please let me know if you need more
information.

Best regards,
Lewis

This posting is provided "AS IS" with no warranties, and confers no rights.