ASP Web Form To Check Existence of A Remote URL

Category:
ASP, HTML and XML
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: ASP, Visual Basic Script

More information:
There are 2 parts in the example; a basic HTML page to capture a URL that be checked, and the asp code that checks whether the URL does or does not exist. I use this routine because we have multiple webs capturing data that is then saved in a central administrative web. I need to make sure that the admin Web page is available before I send data to it for processing.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: