Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Current owner of files
Message
De
13/01/2005 05:06:43
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00976358
Message ID:
00976688
Vues:
11
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform