I am trying to trap HTTP Response Codes returned from a web server when errors are encountered such as the 404 error - page not found.
From what I have been able to find out on the net, I need to use the NavigateError event status codes.
However, I cannot find any examples of how to do this that work with Visual Basic 2010.
If I try to do something like this:-
I get an error in VB
'NavigateError' is not a member of 'System.Windows.Forms.WebBrowser'
Please could someone give some example code to do this?