I have the webbrowser control on my form navigated to an image url (http://www.thesite.com/theimage.jpg). Unless there is a way to load that image directly into a picturebox, I would like to be able to download that image to my hard drive so that I can load it into a picturebox. No BitBlt'ing or SendKeys, please.
The reason I ask is because the URLDownloadToFile api using urlmon causes my program to freeze if the image is either not there or the server the image is on takes forever. Either way, I'd like a different method to download the image from the webbrowser control other than using the urlmon api. Thanks!
The reason I ask is because the URLDownloadToFile api using urlmon causes my program to freeze if the image is either not there or the server the image is on takes forever. Either way, I'd like a different method to download the image from the webbrowser control other than using the urlmon api. Thanks!