1 message in org.openoffice.fr.progRE : [prog] lancer une page internet
FromSent OnAttachments
nico...@interim-nation.frMar 20, 2007 4:14 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE : [prog] lancer une page internetActions...
From:nico...@interim-nation.fr (nico@interim-nation.fr)
Date:Mar 20, 2007 4:14:02 am
List:org.openoffice.fr.prog

je suppose que je peut passer des arguments en GET, donc je crois que c'est pile ce que je cherche, merci beaucoup!! Nico

-----Message d'origine----- De : Didier Dorange-Pattoret [mailto:ddor@dmaths.com] Envoyé : lundi 19 mars 2007 18:07 À : pr@fr.openoffice.org Objet : Re: [prog] lancer une page internet

Bonjour,

Voici une macro qui lance une page spécifique :

Sub Join_dmaths On error resume next Dim sUrl as String Dim sys As Object Dim iFlags As Integer sUrl=ConvertToURL("http://www.dmaths.org") sys = CreateUnoService("com.sun.star.system.SystemShellExecute") iFlags = com.sun.star.system.SystemShellExecuteFlags.NO_SYSTEM_ERROR_MESSAGE ' = 0 sys.execute(sUrl," ", iFlags) End Sub

Cela vous convient-il ?

nico@interim-nation.fr a écrit :

Est il possible de lancer un navigateur Internet avec une url spécifique depuis une macro Ooo Basic ?

Merci de vos réponses,

-- Didier Dorange-Pattoret Tel : 06.85.23.38.31

http://www.dmaths.org http://sesamath.net

S'inscrire à la liste de diffusion de dmaths: user@dmaths.org Ses archives : http://listes.dmaths.org/wws/arc/users Les Forums : http://www.dmaths.org/forum/ Mailing List in english : http://www.dmaths.org/documentation/doku.php?id=presentation:listdif

Le livre de référence pour OpenOffice.org2 : http://www.amazon.fr/exec/obidos/ASIN/2212116381/dmaths-21 Programmation OpenOffice.org2 : http://www.amazon.fr/exec/obidos/ASIN/2212117639/dmaths-21