Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Current owner of files
Message
From
13/01/2005 05:06:43
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00976358
Message ID:
00976688
Views:
12
>Thankyou Jos for your speedy response.
>
>Sorry for being thick but where do I put my server and path information in the code. I have a server called lean and my path for the share is \\lean\questpdm with the questpdm being the name of the share.
>
>Many Thanks for your help.

Neil, copy the code into a prg file and save that as something. Then the procedure you want to call is the first one in the code "FileUse". You want to pass it 3 parameters as explained in the comments:
*-- Parameters:
*      1. The server name. It can also be a domain name.
*         Use an empty string for the current computer.
*         Ex: MyServer
*      2. The base path. Only the files in this directory
*         (and all subdirectories) will be returned.
*         This path must be specified as the <u>local path
*         on the computer where the files were opened</u>, and
*         not as the UNC path.
*      3. The user name.
*         Use an empty string for all users. 
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform