
Saving web pages to file using webBrowser or inet control
I am using
Visual Basic 5.0(sp3) under win95 and want to navigate to
a web page and download it to a text file. (The resulting web page is a
plain text file).
I use "webBrowser1.navigate sUrl" to go to the page and the page appears
ok, but how do I save this result to file. I do not see an available
property or method for this.
If I try to use the inet control using the command "inet1.openurl sUrl" I
get an http 404 error, file not found but I know the sUrl address is correct
because the webBrowser or netscape or IE display it correctly.
The sUrl is
" http://www.*-*-*.com/ :443/930954003850?User=demo&Pswd=demo&DataType=DA...
bol=aol&Interval=60"
I have also set the inet1.remotePort property to 443 but this still
results in a 404 error.
Any suggestions on how to save this web page or similar pages to a file?