6
Reply

Need Help: Saving an image without using picturebox.image.save()

Jacob R

Jacob R

14 years ago
7.8k
I want to be able to save images from a web page after it is loaded into a WebBrowser object.  I can loop through the images on the web page, put each image in a picturebox and then use picturebox.image.save to save it.  The problem is when my application is minimized or behind other windows, the picturebox doesn't redraw even with using Application.DoEvents() so I get an object refrence null error.  What I want to know is if there is a way to put those images into memory and then save them from there without the use of a picturebox.

Answers (6)