Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    C#: Alternative to a webBrowser

    For awhile I've been using a hidden webBrowser on my form where I then can use things like GetElementByID and just have the power of the webBrowser. However, that seems extremely cheesy and its getting old to use.

    Its there a method that doesn't require an actual item on the form, and just code?

    I found WebClient, httpWebRequest and none of those have the same power that a webBrowser does (unless I overlooked it)

    Am I stuck using this webBrowser?

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Well what are you trying to do? If you can be a little bit more specific with what you want to do with the web page once you have it, we might be able to come up with some alternative solutions to the web browser.
    OracleGuy

  • #3
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I just want to read data off of it. Downloading the string and doing it that way, would take forever since theres too much to pull from one page.

    I don't need a long function of something, I was just wondering if there was an alternative.

  • #4
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by iBotPeaches View Post
    For awhile I've been using a hidden webBrowser on my form where I then can use things like GetElementByID and just have the power of the webBrowser. However, that seems extremely cheesy and its getting old to use.

    Its there a method that doesn't require an actual item on the form, and just code?

    I found WebClient, httpWebRequest and none of those have the same power that a webBrowser does (unless I overlooked it)

    Am I stuck using this webBrowser?
    Can't you simply instantiate an object of type webBrowser in your code? I don't think it needs to be rendered on a form.


  •  

    Posting Permissions

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