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 12:50:28 am
List:org.openoffice.fr.prog

Bonjour

J'ai regardé dans le livre et dans l'aide (F1) et franchement je n'avance pas beaucoup. Apparement j'ai un soucis au niveau de l'instruction FileExists. J'ai essayé de l'intégrer dans une expression "If " mais pour le moment je séche.

monFichier = "C:\toto.odt"

if FileExists(monFichier) then print "mon fichier existe" else print "mon fichier n'existe pas" endif

FileExists retourne un boolean True/False

Laurent