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

retrieve contents of framesCollection from webBrowser

Status
Not open for further replies.

fishysheep

Programmer
Oct 13, 2001
54
0
0
GB
have following in document_complete event of webBrowser.

Dim h As mshtml.HTMLDocument
h = wb.Document 'wb is webBrowser
Dim f As mshtml.FramesCollection
f = h.frames
Dim i As Integer

For i = 1 To f.length()
'how to pull text here
'f.item(i)
Next

it's counting the frames ok, it's just that I can't get anything (ie text) from the frames. Tried document/inner/outer text all without success.

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top