16 messages in org.openoffice.fr.progRe: [prog] Comment obtnir la version ...
FromSent OnAttachments
Didier Dorange-PattoretJan 29, 2006 6:21 am 
Bernard MarcellyJan 29, 2006 8:53 am 
Didier Dorange-PattoretJan 29, 2006 12:37 pm 
Didier Dorange-PattoretJan 29, 2006 2:26 pm 
Laurent GodardJan 29, 2006 11:06 pm 
oo...@volcar.orgJan 30, 2006 4:54 am 
Didier Dorange-PattoretJan 30, 2006 2:09 pm 
Didier Dorange-PattoretJan 30, 2006 2:21 pm 
Catherine BancillonJan 31, 2006 10:31 am 
Didier Dorange-PattoretJan 31, 2006 12:03 pm 
NojidJan 31, 2006 12:11 pm 
Catherine BancillonJan 31, 2006 11:09 pm 
Catherine BancillonJan 31, 2006 11:46 pm 
Catherine BancillonJan 31, 2006 11:56 pm 
c.ma...@univitis.frFeb 1, 2006 12:03 am 
Jacques Le MoulecFeb 1, 2006 12:10 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] Comment obtnir la version de WindowsActions...
From:Didier Dorange-Pattoret (ddor@free.fr)
Date:Jan 29, 2006 12:37:40 pm
List:org.openoffice.fr.prog

Bonsoir Bernard,

Merci pour ta réponse.

Bernard Marcelly a écrit :

Bonjour Didier Dorange-Pattoret Message du 2006-01-29 15:22:

Bonjour, Voici une macro qui devrait me donner la version de Windows. Elle fonctionne bien avec Win98, mais ne donne rien avec WinXP.

Avez-vous une idée ?

C'est effectivement une idiotie.

Oui : avec l'instruction print tu appelles ta fonction à l'intérieur de ta fonction ! c'est donc un appel récursif qui finira mal. En déplaçant l'instruction print dans un sous-programme, j'obtiens bien "Windows XP".

Mais je n'obtiens rien sur ma machine. Chaine vide. Je vais tester avec %20 pour le blanc de Windows XP.

Merci d'ailleurs pour ce code initialement offert sur internet (code Snippets API), et que nous avons reproduit dans le livre Programmation OOo.

Bernard

J'ai fait passer il y a qq jours du code qui permet de redimensionner une image avec OOo. Pas une image embedded, mais une image d'un fichier externe à OOo.

S'il est utile au livre ou ailleurs ....

Cordialement.

-- Didier Dorange-Pattoret

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/modules.php?name=Forums Mailing List in english:
http://www.dmaths.org/modules.php?name=Content&pa=showpage&pid=9

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