Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2010 > Visual Basic 2010 General Discussion
|
Visual Basic 2010 General Discussion For any discussions about Visual Basic 2010 topics which aren't related to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2010 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 29th, 2010, 06:36 AM
Registered User
 
Join Date: Jul 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Visual Basic 2010 WebBrowser & NavigateError

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:-

WebBrowser1.NavigateError

I get an error in VB stating:-

'NavigateError' is not a member of 'System.Windows.Forms.WebBrowser'

Please could someone give some example code to do this?

Thanks.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Studio 2010 in Focus at Great Indian Developer Summit 2010 shaguf5575 ASP.NET 1.x and 2.0 Application Design 0 February 24th, 2010 07:03 AM
Visual Studio 2010 in Focus at Great Indian Developer Summit 2010 shaguf5575 ASP.NET 1.x and 2.0 Application Design 0 February 24th, 2010 07:02 AM
Visual Basic & Sage Derek_05 Beginning VB 6 1 February 20th, 2006 11:17 PM
<Visual Basic.NET and AQL Server 2000:B&EDL>?Code? cqliucheng Wrox Book Feedback 1 September 2nd, 2004 08:13 AM
PalmPC(windowsCE) & Visual Basic module0000 Beginning VB 6 3 June 19th, 2003 02:25 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.