
Saving web page with images using the WebBrowser control
Err - I would look into the inet control :]
Once you've got the page you want - get it using the inet control, which
returns a string (variant) which is the source code for the page (the same
as View source in IE)...
''code
'dim page as variant
'Page = InetConnection.OpenURL("http://www.yahoo.com")
Then write some nifty string handling procedures to search out the images
inside it and store in an array (or DB if you want)
''code
'dim position as long
'dim endofcurrentimage as long
'dim imagetag as string
'
'position = instr(1, page, "<img src=""", vbTextCompare) 'look for the start
of an image tag
'endofcurrentimage = instr(position, page, ">", vbTextCompare) 'then for the
end
'
'imagetag = mid(page, position, endofcurrentimage)
then (again ;]) you can use the inet control to grab the images.
''cant remember this bit (but it will be similar to the openUrl command :]
Hope this helps :]
Dave