Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Map a location
Message
De
10/07/1997 10:57:02
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00039268
Message ID:
00039272
Vues:
34
>I am working on a VFP 5.0 application running on Windows NT 4.0 workstation. We have Novell 4.1 servers with Multi Protocol Routers to support multiple remote locations (through a WAN). The net effect is: when I click on Network Neighborhood shortcut, I see all the servers I can login and subsequently map a drive to.
>
>My question is: which native Windows Win 32 APIs I can use to login and then to map a drive (or use the UNC)?

You can use NetAddConnection2() or something like that.

But, an easy way to go might be to run a map.cmd file from Visual FoxPro. In this cmd file, you can then define as many NET USE you want to other stuff.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform