[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

How to open a webpage using vb.net

Posted on 2014-01-07
3
Medium Priority
?
330 Views
Last Modified: 2014-01-07
How do I open a webpage and parse the results of that page using VB.net?  I want to download and parse data from a page that I open.  I only need code on how to open the page and see the results of the page downloaded.  Thanks in advance.
0
Comment
Question by:TheChos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 2000 total points
ID: 39763276
Dim webClient As New System.Net.WebClient()
Dim content As String = webClient.DownloadString("http://www.experts-exchange.com/Microsoft/Development/Q_28332710.html")

Open in new window


You can parse the content variable with any parsing method that works on a String.
0
 

Author Closing Comment

by:TheChos
ID: 39763362
Worth an A+.  Very quick response and easy to implement.  Thank you very much!
0
 
LVL 40
ID: 39763643
Thanks the programmers who designed the Framework. It's far from perfect, but there is often an easy way to do stuff.

It's just that finding what you need in these 10000+ classes is not an easy task.

It comes easier after 13 years or so :-).
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question