Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Map a Network Drive from a Static IP
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00979011
Message ID:
00979014
Views:
13
This message has been marked as the solution to the initial question of the thread.
Try
objNetwork.MapNetworkDrive("I:", "\\11.22.33.44\I", .T.)
> How can I map a network drive to a machine with a static IP on a network in Fox Code?
>
>I know to do it using the machine name is something like this:
>
>
>objNetwork = CreateObject("WScript.Network")
>
>objNetwork.MapNetworkDrive "I:", "\\Aseserver\I", True objNetwork.MapNetworkDrive "J:", "\\Aseserver\J", True
>
>
>
>How do I sub the IP for the Name? Or do you have to take a completely different approach?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform