Results 1 to 4 of 4

Thread: IE Object - Get webpages text

  1. #1

    Thread Starter
    Addicted Member sinner0636's Avatar
    Join Date
    Sep 2009
    Posts
    233

    IE Object - Get webpages text

    Hello
    I have a question still new to vb i use a hidden web browser control on a form to get a webpages text is there a simpler way to do this in visual basic without having to create the control itself on the form like looping the text from a ie object somehow in a public function?

    Thanks

  2. #2
    Hyperactive Member
    Join Date
    Jun 2011
    Posts
    461

    Re: IE Object - Get webpages text

    WinHTTP, Winsock, Inet?

    Also, this doesn't belong here so I reported to move it to appropriate section.
    Last edited by MikiSoft; Aug 22nd, 2015 at 08:14 PM.

  3. #3
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,900

    Re: IE Object - Get webpages text

    Moved to main forum
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  4. #4
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: IE Object - Get webpages text

    MikiSoft suggested Inet

    Dim s As String
    s = Inet1.OpenURL("www.vbforums.com")

    Problem here is the possibility you wont get all of the data if data is too long

    I don't know WinHTTP which might be the better way to go so my only other suggestion would be Winsock


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

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