mar. 22 décembre 2020, 18h39
Hamidou
Maroc
atoutfox.public.association
Re: Affichage localisation via google map
Bonjour
*Voila un moyen très simple d'ouvrir une URL avec le navigateur par défaut (MS IE ou MS Edge ou Google Crome etc.) de Windows:
* que tu peux appeler dans ton application
*************************************************
LCurl= [
https://maps.google.com/maps?q=122-route-des-Puthods,01340,CRAS-SUR-REYSSOUZE,FRANCE]
* declare API-function 'ShellExecute'
DECLARE ShellExecute IN shell32.dll Integer, String, String, String, String, Integer
* Laisse windows de decide, quelle app va traiter et afficher URLs
ShellExecute( 0 , [open] , lcUrl , [] , [] , 1 )
* undeclare API-function
CLEAR DLLS [ShellExecute]
************************************
je l ai essayer sur Edge (par défaut sur mon pc) ca marche bien sans erreur
Permalink : http://www.atoutfox.org/nntp.asp?ID=0000019765