ATOUTFOX
COMMUNAUTÉ FRANCOPHONE DES PROFESSIONNELS FOXPRO
Visual FoxPro : le développement durable

Forum AtoutFox : Re: Questions avec objet IE   

Sujet

rss Flux RSS des derniers messages

Vous devez vous identifier pour pouvoir poser une question ou répondre.

ven. 20 février 2015, 17h22
OlivierH
atoutfox.public.association

Re: Questions avec objet IE

Jean Paul

Je crois que l'objet InternetExplorer.Application, il faut l'abandonner,
car il ne doit pas gérer bien gérer le Jquery.

Essaies de faire un "ShellExecute" de ta page Web pour ouvrir le
navigateur par défaut du poste et cela marchera.

Olivier,


Le 20/02/2015 14:09, JpG a écrit :
> Bonjour Eddy.
>
> Dans le INIT d'une forme ou il y a un objet INTERNET EXPLORER, j'ai ceci :
>
With ThisForm._web as InternetExplorer.Application
navigate("http://www.one-expert.fr/Maps/AfficPlanSitu1.htm";)
visible = .t.
ENDWITH
DO WHILE Thisform._web.ReadyState != 4
DOEVENTS
ENDDO
WAIT CLEAR

> A l'exécution IE bloque l'affichage ***
>
> Si au lieu de mettre .navigate("http://www.one-expert.fr/Maps/AfficPlanSitu1.htm";)
> je mets .navigate("http://www.one-expert.fr";)
> cela fonctionne alors bien. Car ce que je lance n'est alors pas "bloqué" par IE
>
> Enfin, si je lance "http://www.one-expert.fr/Maps/AfficPlanSitu1.htm"; dans mon navigateur IE, pas de soucis.
>
> Si tu veux avoir le contenu du HTML qui est lancé (mais je suis sur que le problème n'est pas là ) :
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">;
> <html xmlns="http://www.w3.org/1999/xhtml"; xmlns:v="urn:schemas-microsoft-com:vml">
> <head>
> <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
> <title>Situation Géographique</title>
> <style type="text/css">
> html, body, #map-canvas { height: 100%; margin: 0; padding: 0;}
> </style>
> <script type="text/javascript"
> src="https://maps.googleapis.com/maps/api/js?key=<<GoogleToken>>">;
> </script>
> <script type="text/javascript">
> var myCenter=new google.maps.LatLng(48.8635675,2.810739);
> function initialize()
> {
> var mapProp = {
> center:myCenter,
> zoom: 15,
> mapTypeId: google.maps.MapTypeId.ROADMAP
> };
> var map = new google.maps.Map(document.getElementById('googleMap'),mapProp);
> var marker=new google.maps.Marker({position:myCenter,});
> marker.setMap(map);
> }
> google.maps.event.addDomListener(window, 'load', initialize);
> </script>
> </head>
> <body>
> <div id="googleMap" style="width: 888px; height: 666px"></div>
> </body>
> </html>
>
>
Permalink : http://www.atoutfox.org/nntp.asp?ID=0000015995
20 286 messages dans le forum • Liste complète des messages

www.atoutfox.org - Site de la Communauté Francophone des Professionnels FoxPro - v3.4.0 - © 2004-2026.
Cette page est générée par un composant COM+ développé en Visual FoxPro 9.0-SP2-HF3