I'm sorry - this is such an annoying problem for me that I feel I must repost over and over until I get an answer <grin>
Can anyone fill in this function? (using the webbrowser control, the internet transfer control, or any api functions) The only constraint is that IMAGES CAN'T BE DOWNLOADED.
public function DownloadHTML( byval href as string) as HTMLDocument
...
end function
This is the closest I've come, but it only gets the body of the html, and I want ALL of it -
public function DownloadHTML( byval href as string) as HTMLDocument
dim htmlString as string
dim htmlDoc as htmlDocument
htmlstring = inet1.openurl( href, icString)
set htmldoc = new htmldocument
htmldoc.open
htmldoc.close
htmldoc.body.innerhtml = htmlstring
set downloadhtml = htmldoc
end function