Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting text from IE object

Status
Not open for further replies.

bill74

Technical User
Jan 14, 2004
6
US
OK, I've mastered opening IE as an object.
Now I need to return text from the documnet as a string.
I have a variable string 'strX' which will also appear in my oblect source code. I need to find it in my IE object and return the text following (perhaps innerText?)
Any idea how to searcht he document and get htis back?

Snippets:
xxxxxxxxxxxxxxxxxxxxx = strX

<TD noWrap></TD>
<TD noWrap>xxxxxxxxxxxxxxxx</TD>
<TD>
<table border=0 width="100%" cellspacing=0 cellpadding=0>
<tr><td width="99%">This is the text I need to return as a string.</td>
</tr></table>
</TD>
<TD noWrap>3/8/2004 11:02:10 AM</TD>
 
bill not that I have done alot with this but if you can get IE as a object try saving the page as text and using you app to search for the info in the textfile rather than the webpage
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top