Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UnMapNetworkDrive does not remove drive from listing
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01543927
Message ID:
01544310
Views:
33
>I am mapping and unmapping drives from my application. The mapping portion appears to work fine. I see the drive appear in file explorer. But after Unmapping it, the drive appears with a red X in it. Then if I try mapping the drve again I get a error 1202. Something about attempting to connect but failing because the drive is in use. Is there a way to free up this unmapped drive, so I can use it again?

Why are you mapping drives rather than just using UNC paths to refer to files/folders?

Mapping drives can really piss a user off if you manage to screw up the drives they already had mapped.

I know that's not answering your question - I'm just surprised to see someone still mapping drives for an application.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform