Getting NavigateError with HTTP_STATUS_OK?

From: Dave Brown (man_at_c&a.)
Date: 03/13/04


Date: Sat, 13 Mar 2004 11:33:45 +0000

Using IWebBrowser2, IE6.

Seems to work fine, except when I try to get to http://slashdot.org (conspiracy,
maybe??) it fires a NavigateError. Strangely the status code is 200
(HTTP_STATUS_OK), but then it goes on to display an "action canceled" page.

I've read the SDK doc and it says something along the lines of if I set the
*Cancel value to VARIANT_TRUE then it will attempt a redirection, so thinking
that was happening, I did that - set Cancel to VARIANT_TRUE. No difference
whatsoever.

Further to that, it also does it with http://sourceforge.net,
http://www.osdn.com, http://www.linux.com/, but if I change that "linux" in that
last one there to "microsoft", hey presto it works.

Any ideas?



Relevant Pages

  • RE: Canceling Workbook Before_Save event
    ... You have to set cancel to True if you want to cancel the save that triggered ... Private Sub Workbook_BeforeSave(ByVal _ ... SaveAsUI As Boolean, Cancel As Boolean) ...
    (microsoft.public.excel.programming)
  • Re: Required fields at form level
    ... Access gives you the Cancel argument so you can cancel the event, ... Just set Cancel to True to kill the save. ... > entry of the required data. ... > Private Sub Form_BeforeUpdate ...
    (microsoft.public.access.formscoding)
  • Re: How to prewent automated WORD application from be closed by the user
    ... Try with DocumentBeforeClose(ByVal Doc As Word.Document, Cancel As Boolean). ... This will intercept document closing. ... If you set Cancel to True document ...
    (microsoft.public.office.developer.automation)
  • before update cancel not working
    ... I want to cancel their update. ... and set Cancel = True when that function returns a false value. ... that Cancel is being set to true, checked it out in Debug mode, yet the field ... remains updated afterward. ...
    (microsoft.public.access.modulesdaovba)
  • Re: BeforeUpdate Cancel not always working...
    ... Then open it again and import everything from the old mdb into the new ... in a control will hold the focus in that control unless you are closing the ... and in some cases I set Cancel = True to cancel the change to the field. ...
    (microsoft.public.access.modulesdaovba)