HI.

I am using a web browser control to access the Internet. It pulls up web pages just fine, but I need to save the HTML source code of the displayed page from my VB project.

Option 1
Does anyone know how to do this using the web browser control?

Option 2
The same thing can be accomplished by right clicking on the web page, selecting View Source and then saving the file. How do I get VB to automate these steps?

Option 3
A way to do this that I haven't thought of yet! (using the Internet Transfer Control is not an option due to security issues.)

Of course, the first option is the better, more efficient choice. I just can't figure out how to do it!

I would appreciate it if someone could shed light (and code..if available) on either of the options above.

Thanks in advance.

Chris