Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Map a location
Message
From
10/07/1997 10:57:02
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00039268
Message ID:
00039272
Views:
36
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform