Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Errors with IE object
Message
From
05/10/2006 09:56:25
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01159666
Message ID:
01159681
Views:
15
>Hi,
>
>
>I placed the IE object in 2 of my applications(Info 2 MIS, MIS Info Video).
>But when I go at certain page with my application, I get this error:
>
>
>An error has occurred in the script on this page
>Line: 1
>Char: 1
>Error: Permission denied
>Code: 0
>URL: .....
>
>I tried the silent .T. or .F. Both value failed.
>When I use IE 6.0 and go to the same page, I get no errors because
>I "Disable Script Debugging".
>
>How can I do that with the IE object?
>
>It may get an error on one computer and not on the others
>for the same page. I can't seem to see a pattern.

You can override NavigateError.
*...
  Procedure myIE.NavigateError
  Lparameters pdisp, url, frame, statuscode, Cancel
  Cancel = .T.
  * ...
Endproc
*...
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform