Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sharing Folder on the Network
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00504542
Message ID:
00505094
Vues:
18
>You may use ADSI to do that, it is quite easy:
>
>oADsContainer = GetObject( "WinNT://DomainName/ComputerName/LanmanServer")
>oNewShare = oADsContainer.Create( "fileshare", "ShareName")
>oNewShare.Path = "FullPathToNewShare"
>oNewShare.Description = "ShareDescription"
>oNewShare.MaxUserCount = -1 && No limitation
>oNewShare.SetInfo
>Release oNewShare, oADsContainer

Hi ALEX!

Thanks for your quick response!

How do you implement this code in Win9x environment (Peer to Peer Network)... is there any available ADSI command for Win9x...

Thanx in advance...
Joe Mamokan
Database Specialist
Email Address: mamokan@eudoramail.com
Url Address: http://visnet_dd.tripod.com
"Can you VISUALIZE Quick Data Access"
Cell # +639172482033
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform