Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Share a folder from VFP
Message
De
06/03/2002 00:27:45
 
 
À
05/03/2002 17:10:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00628722
Message ID:
00628840
Vues:
17
>Hi All.
>
>I've been looking thru the WinAPI section as well as the VFUG articles on
>WSH ... but haven't found what I'm looking for yet.
>
>Can anyone tell me how to open up a share on the local PC from VFP .. either with WSH or using a windows DLL call?
>
>For example, I want to programatically open c:\test (local) as a share called TEST ... and set the read and write password.
>

You'll need to use the ADSI ActiveX controls or some moderately complex API coding - the creation and control of shares varies widely by which OS is used to host the share. The ADSI controls virtualize the share operation, but require proper installation on both client and server platforms.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform