sometimes my ISP dropps the connection. my program creates a stream of a URL and reports back. I would like it to report seomthing else if it was unable to reach the website.
stream = New IO.StreamReader(wc.OpenRead(URL)
what should I add?
stream = New IO.StreamReader(wc.OpenRead(URL)
what should I add?