Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buscar Imagenes
Message
De
24/03/2008 17:29:52
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01304780
Message ID:
01305136
Vues:
14
This message has been marked as the solution to the initial question of the thread.
>Muchisimas gracias a ambos.
>ya he podido hacerlo.
>
>Solucion:
>
>
>xImage = thisform.text6.value + lcCadenaUsuario
>xImage = STRTRAN(xImage,"/","\")
>DIMENSION laDummy[1]
>IF (ADIR(laDummy, xImage))>=1
>   *-------- Copia la imagen y sigue el poceso
>ENDIF
>
>
>
>Saludos.

Exacto, esa es la idea.

Mientras que file() te busca por el archivo en varias partes, adir() simple y llanamente te crea un array con los archivos especificados (del directorio especificado).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform