Visual basic 2008 iframes issue - automate iframes - vb.net automate iframe

you need to find the iframe source element and create a delegate method then invoke the method to process the iframe.

Something like this.. I'm just setting some body text but you get the idea

MethodInvoker myMethod = delegate
{
object myFrameIndex = num;
HTMLWindow docWindow= myBrowser.document.domdocument.frames.item(ref myframeIndex);
docWindow.body.innerHTML = "your text here";

};
myBrowser.Invoke(myMethod);
 
Back
Top