Results 1 to 3 of 3

Thread: Right or Wrong???

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    879

    Thumbs down

    Hi guys once again! I need help doing the following. I have a web browser, and it has a page loaded into it that has two frames, one is called header and the other one is called main. Someone told me that I can somehow use the WebBrowser1.Document.DocumentElement.InnerHtml method to get the html of a page, but how do i get the html of that frame called main?? How do I do that, is there another way? Can someone help me?
    Visual Basic 6.0
    Visual C++ 5
    Delphi 5


  2. #2
    Member
    Join Date
    Mar 2000
    Location
    Mentor,Oh,US
    Posts
    33
    First of all, you know this is Dynamic HTML right? The InnerHTML property sets or retrieves HTML between the start and end tags. I think this can only be set while a document is NOT loading. You gotta wait for the onload event too.

    Something like this should work just as well right?

    Code:
    Sub cboAddress.click
     brwWebBrowser.Navigate cboAddress.Text
    End Sub
    If at first you DO succeed, don't look too astonished!
    -deadBird
    =================

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    879
    That doesn't really reply to my question, but thanks!
    Visual Basic 6.0
    Visual C++ 5
    Delphi 5


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width