Building bots in VB.NET..httpwebrequest or webbrowser?

simpleonlinetest

Regular Member
Joined
Feb 18, 2010
Messages
208
Reaction score
25
What's a better route to learn when starting out building bots in VB.NET?

I can currently build basic bots that can navigate to a website, enter text into textboxes, and press buttons, etc but it seems somewhat slow using the webbrowser.

I'm looking to build some professional type bots that can use multi threads and move lightening fast when processing the data.

I'm at a cross roads right now because I can dive into either learning everything about webbrowser options or httpwebrequest options.

Of course I will be learning them both in time but which would be the better route to learn to use when building great little bots?

Thanks
 
For multi-threading and speed you'd have to go with HTTPWebRequest.
 
HttpWebRequest, WebBrowser for JavaScript

and after that you could try Sockets.
 
You don't want to waste your time with the web browser, you will only be setting yourself up with limitations.

Learn the web request class, and even better purchase a 3rd party control like chillcat or if you're a good enough programmer learn secure sockets.
 
You will be setting yourself up for failure by using the WebBrowser object, as others have stated. In my opinion, however, depending on your needs you might start off with the WebBrowser object as it is significantly easier to debug when you're just starting off. Some of the knowledge you acquire by working with the WebBrowser object will help you towards a better understanding of HttpWebRequest/Sockets.
 
Back
Top