>>>>Can you show the parameter values you pass to WNetCancelConnection2?
>>>
>>>
>>>n = WNetCancelConnection2("H:",1,0)
>>>
>>
>>Try with force disconnect. BTW, what it returns?
>>n = WNetCancelConnection2("H:",1,1)
>>
>
>Thank you. Why I did not notice that, I do not know. Age must me catching up to me.
you are welcome
--sb--