Hi All,
i am struck to get complete HTML source code from webpage, can anyone please help me out to get this done.
this is my code
![]()
Please Login or Register to view this content.
Hi All,
i am struck to get complete HTML source code from webpage, can anyone please help me out to get this done.
this is my code
![]()
Please Login or Register to view this content.
Thanks - Naveed
-----------------------------
If the suggestion helps you, then Click * to Add Reputation
To Attach File: Go Advanced>>Manage Attachments>>Add Files (In Top Right Corner)>>SelectFiles>>.........Locate Your File(s)>>Upload Files>>Done (In Bottom Right)
1. Use [code] code tags [\code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
2. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.
can anyone please guide me if am missing keyword.
Me.TextBox1.Text = IE.document.body.innertext
It might be the size of the text will not fit in the text, try to increase the size of text box.
Why are you looping through all the windows though? Try one at a time.
Hi Ab33
Thanks its resolved,
suppose if i want to extract source code without opening webpage i mean to say using MSXML2.XMLHTTP.6.0 then its not working when i used this its getting something different source code
The response is different. it is not document, but is "responsetext"
Hi AB33
if i want to get complete HTML Source then how we can get ?
Where is your code for MSXML2.XMLHTTP.6.0? If you have not got, please search this site or online. There are hundreds material on this method.
HI AB33
this is my code
![]()
Please Login or Register to view this content.
I do not know the code you have, so I can not comment on it.
This is the code I normally use. It works, but there is a limit to a display on debug. If you loaded in to text box you should be able to see the entire content.
![]()
Please Login or Register to view this content.
Hi AB33
Hmmm its okay, i tried a lot using XMLHTTP however document Source code not getting.
I am using my first thread code.
Thanks![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks