how to capture the html source of any website very easy....
how to capture the html source of any website very easy....
API Declarations
you need a textbox
or list box
Rate how to capture the html source of any website very easy....
(1(1 Vote))
the code is
text1.text = yourformname.yourwebbrowsername.document.documentElement.innerHTML
thats it.........
if you dont have a webbrowser define in your form and you just want to download the html source
then follow this code
declare
you go to refrences and use html object library and internet controls and declare the following code
Dim ie As New SHDocVw.InternetExplorer
on form_load
set ie = new SHDocVw.InternetExplorer
now on the navigate button write the following code
ie.navigate text1.text (text1 is the name of the textbox in which you write the address of the website you want to extract html source from)
list1.add ie.document.documentElement.InnerHTML
thats it..... easy right
If you still want to ask me any question you are freely to ask me on [email protected]
how to capture the html source of any website very easy.... Comments
No comments yet — be the first to post one!
Post a Comment