Results 1 to 7 of 7

Thread: Ie Control

Hybrid View

  1. #1
    PowerPoster
    Join Date
    Aug 2011
    Location
    B.C., Canada
    Posts
    2,887

    Re: Ie Control

    line 1006 ? from source code? how are you getting source code? document.body.outerhtml?
    or do you mean line 1006 of the Internet Explorer Menu (View - Source) Line 1006?
    i dont know how to get 1006 line of IE Source because IE have its own Html "Source" Viewer but if you know what you are looking for its easier to get. if not you would have to get the text from IE Source Viewer's textbox will require API Calls

    if you get code with inet its close but not exactly the same ...

  2. #2

    Thread Starter
    New Member
    Join Date
    Aug 2012
    Posts
    4

    Re: Ie Control

    1006 is just a random number
    if i cant get it directly from the control how do i get the 1006th line of text7.text into text 1

    InternetExploiter.Navigate "http://www.youtube.com/"
    Dim sText As String, sTextHTML As String
    Dim SleepS
    sT = InternetExploiter.Document.body.innerText
    sTextHTML = InternetExploiter.Document.documentElement.outerHTML
    Text7.Text = sTextHTML


    this is to extract certain lines of text from web pages i can convert pages for old browsers like cello
    i want to take the info from sites and have a semi automatic conversion
    i would have to update this each re desighn

  3. #3
    Frenzied Member
    Join Date
    Jan 2009
    Location
    Watch Window(Shift+f9)
    Posts
    1,879

    Re: Ie Control

    please always post code inside code tags. it is much better more readable
    Code:
    InternetExploiter.Navigate "http://www.youtube.com/"
    Dim sText As String, sTextHTML As String
    Dim SleepS
    sT = InternetExploiter.Document.body.innerText
    sTextHTML = InternetExploiter.Document.documentElement.outerHTML
    Text7.Text = sTextHTML

  4. #4

    Thread Starter
    New Member
    Join Date
    Aug 2012
    Posts
    4

    Re: Ie Control

    Quote Originally Posted by firoz.raj View Post
    please always post code inside code tags. it is much better more readable
    Code:
    InternetExploiter.Navigate "http://www.youtube.com/"
    Dim sText As String, sTextHTML As String
    Dim SleepS
    sT = InternetExploiter.Document.body.innerText
    sTextHTML = InternetExploiter.Document.documentElement.outerHTML
    Text7.Text = sTextHTML
    Thank you
    Code:
    but it still doesn't answer my question
    if anyone has a solution to my problem please help
    it will be greatly appreciated

  5. #5

    Thread Starter
    New Member
    Join Date
    Aug 2012
    Posts
    4

    Re: Ie Control

    Quote Originally Posted by firoz.raj View Post
    please always post code inside code tags. it is much better more readable
    Code:
    InternetExploiter.Navigate "http://www.youtube.com/"
    Dim sText As String, sTextHTML As String
    Dim SleepS
    sT = InternetExploiter.Document.body.innerText
    sTextHTML = InternetExploiter.Document.documentElement.outerHTML
    Text7.Text = sTextHTML
    Thank you
    Code:
    but it still doesn't answer my question
    if anyone has a solution to my problem please help
    it will be greatly appreciated

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