TheGuy831 0 Light Poster

Hi i got this issue with accessing a iframe and invokeclick.. i would like to have access to the iframe so i can click button within iframe.. heres an image of what im dealing with..

20e459ba4cdbcc60e5035af2e3ac618e

VB Code

     Dim theElementCollection3 As Windows.Forms.HtmlElementCollection
    'This line now includes access to the iFrame document.
    theElementCollection3 = WebBrowser1.Document.Window.Frames(0).Document.GetElementsByTagName("a")
    For Each Element As HtmlElement In theElementCollection3
    Element.InvokeMember("onClick")
    Next

My Post on iframe InvokememberClick Here

Please!!!! Help!! Thank you..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.