Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Net Use to map a drive?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00146250
Message ID:
00147775
Views:
36
>>>>Well, I have tried it... Success in connection but never success on Disconnect..
>>>>and I need to disconnect it in file manager!
>>>
>>>What return code are you getting when you issue the WNetCancelConnection?
>>

>>
>>return 2250
>>
>>Thanks for help!
>
>That's ERROR_NOT_CONNECTED. Are you passing the right drive specifier?



hard to understand now, because I can check that drive in file explorer...
I have written a onall.prg and offall.prg... and try to call it after onall()!
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform