Validate Availability of A File on The Web via The URL
Category:C#, VB.NET, ASP.NET
Version Compatibility: Visual Basic.NET
This code is a simple snippet that allows you to check if the full URL path, and the file to which it points exists. Many of the snippets available on-line only show how to check or validate the www.xxx.com part of the URL. This handles both.
Instructions: Copy the declarations and code below and paste directly into your VB project.