Solved

Text1.Text = ie.document.body.outerHTML

Posted on 2014-02-05
1
792 Views
Last Modified: 2014-02-24
When i use Text1.Text = ie.document.body.outerHTML in vb6 on a website.   i do not get all the outerhtml.  it looks like the website has more than one body.  how do i get to the other ones.  i can send the 2 view source to your email just let me know.
0
Comment
Question by:rjef
1 Comment
 
LVL 27

Accepted Solution

by:
MacroShadow earned 500 total points
ID: 39838139
It may be using frames.

    Dim intFrameCounter As Integer
     
    For intFrameCounter = 0 To IE.document.frames
      MsgBox IE.document.frames(intFrameCounter).document.body.outerHTML
    Next
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now