...

View Full Version : C#: Alternative to a webBrowser



iBotPeaches
06-17-2009, 05:25 PM
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?

oracleguy
06-17-2009, 07:18 PM
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.

iBotPeaches
06-17-2009, 07:56 PM
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.

nicomp
06-27-2009, 08:56 PM
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum