Question Can not read IFrame content

Joined
Jan 21, 2008
Messages
13
Programming Experience
Beginner
hi All,

Please help me out!!!!!!!!!!


I am reading one web page using webbrowser control in vb.net.

I am using the code

WebBrowser1.Document.GetElementById("IFRAME_DYNAMICSTATUS-1").InnerText

but when I try to read innerhtml/innertext of IFrame control it shows messageg "Your Browser does not understand IFrame. " :nightmare:

please help me out as soon as possible.
 
A frame is a separate window that has its own document, you have to access the Frames collection (browser.Document.Window.Frames) and get the .Document from the frame you want.
 
Back
Top