Valid URL

  • Thread starter Thread starter Tony
  • Start date Start date
T

Tony

VB.net XP Pro VS
I would prefer to use win forms but doesn't matter if I have to use web
forms. Whichever is better.
How can I determine if a URL is valid?
meaning it does exist and displays a page?

Thanks
Tony
 
* "Tony said:
I would prefer to use win forms but doesn't matter if I have to use web
forms. Whichever is better.
How can I determine if a URL is valid?
meaning it does exist and displays a page?

Try to download the file, for example, using 'WebClient.DownloadFile'.
 
I can't seem to find webclient.downloadfile
do you know of any examples?

Thanks
 
Hi Tony,

I think that you can have for this have a look at the

HttpWebRequest
HttpWepResponse
WebHeaderCollection

Cor
 
* "Tony Mastracchio said:
I can't seem to find webclient.downloadfile
do you know of any examples?

Make sure, the namespace 'System.Net' is imported and "System.dll" is
referenced.
 
Back
Top