Text1.Text = ie.document.body.outerHTML

Posted on 2014-02-05
Medium Priority
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.
Question by:rjef
1 Comment
LVL 28

Accepted Solution

MacroShadow earned 2000 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

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…

607 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