greymonkey
Technical User
Hi,
I have a webbrowser object in my vb app which loads a page which has several frames in it.
I am trying to get the text from one frame so I can search it but I cant seem to get it.
So far I have:
This does return some Html code but not the same as if the the frame was loaded by its self in the browser and I use:
If any one has any ideas or knows how to just get all the text on the page into a string that would be great.
Thanks,
I have a webbrowser object in my vb app which loads a page which has several frames in it.
I am trying to get the text from one frame so I can search it but I cant seem to get it.
So far I have:
Code:
Dim temp as String
temp = WebBrowser1.Document.GetElementById("FrameName").Document.Body.InnerHtml
This does return some Html code but not the same as if the the frame was loaded by its self in the browser and I use:
Code:
temp = WebBrowser1.Document.Body.InnerHtml
If any one has any ideas or knows how to just get all the text on the page into a string that would be great.
Thanks,