Jump to content
Sign in to follow this  
RickB75

IEPropertyGet / IEBodyReadText from a txt file opened in IE

Recommended Posts

RickB75

Guys,

      I have quick question. I'm getting the source of a URL with inetgetsource and saving it to a txt file. I'm opening the txt file with IE and trying to read the inner text with IEPropertyGet or IEBodyReadText and both are returning the full source of the page. Is it possible to only get the inner text from the saved source  txt file opened in IE??

I would simply use iecreate > iedocreadhtml and go that way but it doesn't get the correct source that I need. Inetgetsource gets it perfectly. When I use iecreate, it gets the source from a different webpage. JS is preventing iecreate to go directly to the webpage I need whereas inetgetsource goes, gets and returns exactly what I need.

 

Share this post


Link to post
Share on other sites
RickB75

Any advice guys?

Share this post


Link to post
Share on other sites
mikell

Would you post your code and the concerned html ?

Share this post


Link to post
Share on other sites
Palestinian

There are many ways to approach this, you need to be a little more specific and perhaps as mikell said, post a code.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×