Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Errors with IE object
Message
De
05/10/2006 09:56:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01159666
Message ID:
01159681
Vues:
16
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform