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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Analysing Blacklistings 2

Status
Not open for further replies.

JPJeffery

Technical User
May 26, 2006
600
GB
Hello!

If you go to this webpage (completing the URL with a valid external IP address of your gateway) you'll see a table of different blacklists and whether or not your IP address is listed:


What I want to do in a VB script is analyse this table line-by-line to check our own IP address but when I use
Code:
MsgBox objIE.Document.Body.outerText,, "outerText"
MsgBox objIE.Document.Body.outerHTML,, "outerHTML"
I get a lot of the page but not the table (or text of the table, more to the point). What do I need to do differently?

JJ
[small][purple]Variables won't. Constants aren't[/purple]
There is no apostrophe in the plural of PC (or PST, or CPU, or HDD, or FDD, and so on)[/small]
 
Isn't the table in a frame (or iframe) ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Might be, yes. Don't know how to tell (or even what an iframe is)...

JJ
[small][purple]Variables won't. Constants aren't[/purple]
There is no apostrophe in the plural of PC (or PST, or CPU, or HDD, or FDD, and so on)[/small]
 
[1] To simply the matter, go directly for the page embedded in the iframe.
[tt]
surl="[ignore][/ignore]"
[/tt]
[2] Then the url for all the link are retrieved like this.
[tt]
set clink=oie.document.getElementsByTagName("a")
s=""
for each olink in clink
s=s & olink.href & vbcrlf 'just one way to smmarize
next
msgbox s
[/tt]
There are thousands of way to manipulate data. The basic is shown.
 
Herb soup! (aka Soup-'erb, aka superb)

Thanks

JJ
[small][purple]Variables won't. Constants aren't[/purple]
There is no apostrophe in the plural of PC (or PST, or CPU, or HDD, or FDD, and so on)[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top