I am using Visual Basic 2005 and the windows.forms.webbrowser control to access a webpage. I need to save an image from this webpage but it is dynamically generated so I can't simply get the "src" attribute and then retrieve the file (doing so would give me a different image or nothing at all depending on how I try). If I manually right-click on the image, I can use the webbrowser context menu to save the correct image - that's perfect, but I need to automate that process so it does essentially the same thing without any user interaction (and while the control is not visible, etc.).
I'm not sure if it is even possible with Visual Basic 2005 and the Webbrowser control, but if it is possible then I'm guessing it would be very simple for an experienced programmer. Please only bid if you already know the solution.