aaa Posted February 28, 2003 Posted February 28, 2003 i want to be able to see if a certain webpage works using visual basic eg http://weather.news.com.au/cap_index_frame_sydney.htm and if it doesnt work move on to the nextpage on the list to see if that works. If it works , stop what its doing and view it etc Quote
*Gurus* divil Posted February 28, 2003 *Gurus* Posted February 28, 2003 You could establish a socket class and manually send a HEAD request for the page to the webserver, that would do it, without having to download all the content on the page. The easier method would be to use WebClient to download the whole page and catch an exception if the page wasn't found. This would be slower. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.