VB.NET Tutorial 39 - Web Page Source Code (Visual Basic 2008/2010)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
32,026
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 25, 2010

In this tutorial, we cover using the HttpWebRequest and HttpWebResponse. We use it to obtain the source code of a web page that I have created. We also use the Stream Reader to handle the text and then write it into a textbox.

For more information, check out the website:
http://howtostartprogramming.com/vb-net/vb-net-tutorial-39-web-page-source-code/

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (TeachMeComputer)

  • @swehunter2000 You can't run a web browser in a different thread so it is going to put a lot of strain on your application and take up a lot of space. Say you want to parse 5 web pages at the same time, that's 5 web browsers.

  • oooor.. "richtexbox1.text = webbrowser1.documenttext"

  • Using a webbrowser when you are parsing information is a bad idea. It's very unprofessional and will add a lot of strain to your application.

see all

All Comments (44)

Sign In or Sign Up now to post a comment!
  • How to handle errors? Catch ex wont work.

    Variable 'response' is used before it has been assigned a value. A null reference exception could result at runtime.

  • TeachMeComputer:

    would you say writing source code is a difficult thing to do at first or is it overall just a difficult task?

  • im the 1 Percent :)

  • hey can u make a hack for me email me if you can

    my email is :

    devil_98@live.com

  • As usual a great tutrial. How would asimilar code look like in VBA?

  • Thanks Mate... ;)

  • how i can to conect a one data base of sql server with visual basic

  • Does it work on games too or not? If yes, can u tell me the code... or how Thanks.

    Oh, and Can u make a video of like all the codes mean, and the buttons.. Thank You.

    By the wayy, ur video is coollll.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more