Create a Bitmap (snapshot) of a webpage programmatically...how?

G

Guest

Hi everyone,
I have a pesky little problem that is driving me nuts.
I'm trying to capture an image of a web page programmatically in a
background thread or process.
What I'd like to do is create a Bitmap object of a webpage from, say, the
new WebBrowser control of .net 2.0 or even the old ActiveX browser control,
without opening any forms.

I tried with the new WebBrowser control, but the only thing I've managed to
do is open up a form with the control in it, and do a screen capture of a
rectangle the same size of the control.
But the problem is that I need to do it /without/ opening the Form. :(
I think I'm getting close, but I really can't find a way to do it as a
background process.

Can anyone please point me in the right direction?

Thanks
 
H

Herfried K. Wagner [MVP]

Joseph Black said:
I have a pesky little problem that is driving me nuts.
I'm trying to capture an image of a web page programmatically in a
background thread or process.
What I'd like to do is create a Bitmap object of a webpage from, say, the
new WebBrowser control of .net 2.0 or even the old ActiveX browser
control,
without opening any forms.

IECapt
<URL:http://iecapt.sourceforge.net/>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top