Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Network access
Message
De
16/11/1999 15:53:08
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
 
 
À
14/11/1999 10:28:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00291065
Message ID:
00291605
Vues:
23
>>Is their a free class library or dll available that will allow me to attach and map to Novell and NT systems without having to shell out to DOS? If not, what are the relevant Win API functions that will allow me to do this?
>>
>
>There are a number of APIs available - WNetAddConnection() and its relatives will map drives and the like quite easilt - I have sample code for using this in my NETRESOURECE class here on UT (it also requires the CLSHEAP library, also here on UT) - there is a working implementation of WNetAddConnection3(), which is the most flexible of the related APIs.
>
>You also have the option of using an Automation class - the Windows Scripting Host's Wscript.Network has methods to map and release drives and printers, and is much easier to use than the APIs without really having to understand much about the underlying network. Microsoft's ADSI components can administer much of the network environment for you, especially the NT environment.
>
>The WSH can be downloaded from msdn.microsoft.com/scripting, and is fully redistributable. It's built into Win98 and Win2K, and is also automatically installed by installing IE on target systems. There's considerably more to the WSH than just mapping drives...
>
>
>>Ed

Thanks a lot Ed. I found the CLSHEAP library in files, but I can't find Net resourcece. Which section is it in?

Ed
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform