Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get file from selected path ?
Message
 
To
12/09/2001 23:57:16
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00555792
Message ID:
00556051
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform