Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get file from selected path ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00555792
Message ID:
00556051
Vues:
18
Hs,

Why you don't want to use set default? Something like:

local lcFile, lcDefault

lcDefault=sys(5)+sys(2003)
set default to "\\server\my photo\"
lcFile=getfile()
set default to (lcDefault)
return lcFile

Hugo

>Hi,
>
>i running my program on '\\server\my system\main.prg'
>
>now i want the user key in a FILE name on '\\server\my photo\' floder
>
>i can use GETFILE to do it, but i don't want to let the user change
>the path on GETFILE ( cause for mistake ).
>
>how can i make the GETFILE command with status on '\\server\my photo\'
>** i have use SET DEFA or SET PATH, but it looks not the best
> ways for do that.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform