• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 394
  • Last Modified:

how to save a web page as text in vb6

Ok I have a page open using mie.Document.All etc. in a browser instance in my VB6 software, after sending some data to the page, it loads some results via JS, which don't appear in the innerHTML otherwise I would get the data I need from that.

The only way I can get the data doing manually would be to either select all copy and paste or save the page as .txt ... and then read the text

My challenge is to do that programatically, can anyone point me in the right direction.
0
nlsoft
Asked:
nlsoft
  • 2
1 Solution
 
hiteshgoldeneyeCommented:
0
 
nlsoftAuthor Commented:
No not working as a solution for me.

0
 
nlsoftAuthor Commented:
I resolved the problem ... the source code for the page is changed via the MIE.DOCUMENT reference ... so that was the solution (well I didnt need to code something) ...

I converted the mie.document.documentelement.innerhtml to a string, and saved it, and was able to find the data in the file, now I can get the data by looking for the relevant tags in the innerhtml.

Thanks for trying to help me.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now