vivekdevkar Posted August 12, 2010 Posted August 12, 2010 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 Quote
Leaders snarfblam Posted August 13, 2010 Leaders Posted August 13, 2010 Glad to help. What have you got so far? Quote [sIGPIC]e[/sIGPIC]
vivekdevkar Posted August 13, 2010 Author Posted August 13, 2010 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. Quote
Administrators PlausiblyDamp Posted August 13, 2010 Administrators Posted August 13, 2010 Any chance you could actually post the code you have so far? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Leaders snarfblam Posted August 13, 2010 Leaders Posted August 13, 2010 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. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.