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
Title:
Map a Network Drive from a Static IP
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00979011
Message ID:
00979011
Views:
130
To all:
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?
Woodie Westbrook
I came, I saw, I compiled.
Next
Reply
Map
View

Click here to load this message in the networking platform