Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

  • Leaders
Posted

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.

[sIGPIC]e[/sIGPIC]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...