Get a Web Pages Contents in VB.NET

Category:
C#, VB.NET, ASP.NET
Type:
Snippets
Difficulty:
Intermediate
Author:
Anonymous

Version Compatibility: Visual Basic.NET

More information:
This demo shows you how to use the System.Net.Sockets Library to resolve an DNS name to an IP address and retrieve the contents of a web page in Visual Basic.NET. Originally developed for Beta versions; verified to work on VB.NET v 1.0, 03/29/02.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download openurl.zip