7 messages in org.openoffice.fr.progRe: [prog] Vérifier l'existence d'un ...
FromSent OnAttachments
Arnaud POUSSIERJun 28, 2006 3:19 am 
Laurent GodardJun 28, 2006 3:24 am 
Arnaud POUSSIERJun 28, 2006 3:26 am 
Arnaud POUSSIERJun 29, 2006 12:26 am 
Laurent GodardJun 29, 2006 12:50 am 
Olivier VillatteJun 29, 2006 1:15 am 
Laurent GodardJun 29, 2006 1:31 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] Vérifier l'existence d'un fichierActions...
From:Laurent Godard (lgod@indesko.com)
Date:Jun 29, 2006 1:31:03 am
List:org.openoffice.fr.prog

Bonjour Olivier

grmpfff... j'avais plus compliqué quand j'en ai eu besoin...

Pourquoi faire simple ... la bonne methode est celle qui marche :-)

fileAccessService = createUnoService("com.sun.star.ucb.SimpleFileAccess")

Je pense que FileExists se sert de ce service :-)

mais çà permet de faire beaucoup de manips sur les fichiers

http://api.openoffice.org/docs/common/ref/com/sun/star/ucb/XSimpleFileAccess.html

tout à fait !!!

Bonne journee

Laurent