That's a script error and what happens on a script error is defined in your Internet Options - Script Debugging in the Advanced options. You can turn that off and that should give you the same behavior.
Basically you have to remember you're using the full Web browser and whatever options are set on it will apply to your control. So any errors on the page are really more or less out of your control.
Nor should you tweak the settings programmatically - this is a user setting for a reason I suppose. The best way to ensure you don't run into this is to make sure the page has no errors on it <s>...
+++ Rick ---
>>
>>*...
>> Procedure myIE.NavigateError
>> Lparameters pdisp, url, frame, statuscode, Cancel
>> Cancel = .T.
>> * ...
>>Endproc
>>*...
>>
>>Cetin
>
>Thank's
>
>It seem to work so far on the other computer(no VFP installed). But on mine, I get:
>"Just-In-Time Debugging" window
>Possible debuggers:
>New instance of Microsoft Script Editor
>
>It's always there and can't seem to get rid of it.