Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Buscar Imagenes
Message
From
24/03/2008 17:29:52
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01304780
Message ID:
01305136
Views:
13
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)
Previous
Reply
Map
View

Click here to load this message in the networking platform