Welcome! and rules
Joel on Software
Hi, does anyone know if WININET can be used to do the "save as webpage" style behavior IE provides (CityDesk does something similar with the 'Import Web Page' function), in which it downloads the HTML file and any referenced images, etc.? I've been looking in the docs, but am unclear as whether the InternetReadFile() method works in this fashion. For instance, I don't see how to retrieve the file names of images, etc.
it's highly unlikely that wininet will be able to help you. it deals with data transfer protocols (http, ftp, etc), not applications stuff like HTML.
Yup, very easy using just the MSHTML control and walking the IHTMLDocument images collection after DocumentComplete event fires from the browser control. Thanks for the advice, mb!
Fog Creek Home