Problem in copying webpage contents - vb code

vivekdevkar

Newcomer
Joined
Aug 12, 2010
Messages
2
Hi All,

I need a VB code for the following steps to be perform:
1. to open a standard URL(http://....), select all the contents
2. Copy the contents from the web page fully
3. Paste it into a text file and saving it as .xml file

Please Help

Thanks in advance
 
Till now , i am opening a webpage by using VB code.

I want to copy the contents in that web page and store it in a .xml file.
 
How are you opening the web page? Are you using something like the web browser control? Or is your code just connecting to the server and getting the HTML file?

And what do you mean, copy the contents of the web page fully? Are you referring to the HTML, or all images, scripts, styles, ect. that the HTML refers to? Because the latter would be pretty difficult, I imagine. Unless such a feature is built into the web browser control, I would think you'd have to examine the HTML or DOM very thoroughly to identify everything it references.
 
Back
Top