Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access Files on Another PC
Message
De
01/10/2012 13:39:14
 
 
À
01/10/2012 09:44:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Divers
Thread ID:
01554008
Message ID:
01554060
Vues:
52
>Thanks, Al.
>I take it, I first do the file sharing and then do the mapping as Craig suggested?
>Rich

Yes.

It's worth pointing out that it's not strictly necessary to map a drive letter, and many consider it best practice not to. Instead, you can use the Uniform Naming Convention (UNC) name to access the file on the "server" computer.

Most often, when you set up sharing you will share a folder, so files and subfolders within that folder become accessible from other computers. When you share that folder, you will give it a "share name".

On the "server" computer (pretend it's named "Computer01"), suppose the files you want to share are in a folder named C:\Dev\VFPData. When you share that folder, Windows by default will suggest a share name of "VFPData", although you can specify something else if you'd prefer. In this example, the UNC of the share is \\Computer01\VFPData.

Once the sharing is set up on the "server", from the "workstation" you can access a table in that folder in VFP:
USE \\Computer01\VFPData\MyTable ALIAS ... IN ... etc.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform