S
Sparky
Hi
I was wondering if someone can please enlighten me as to the best and most
approved way to connect and disconnect network drives in vb.net.
I have been using Mpr.dll API calls such as WNetCancelConnection2 and
WNetAddConnection2, but these seem to be very flakey with drive
disconnection (The drive conenction seems to be pretty good).
I would have through that Microsocft would have provided a simple class you
can call to take care of mapping network drives etc, but so far i have only
found API calls as the way to do this.
Has any one got a rock solid stable way to connect and disconnect network
drives in vb.net?
many thanks
Sparky.
I was wondering if someone can please enlighten me as to the best and most
approved way to connect and disconnect network drives in vb.net.
I have been using Mpr.dll API calls such as WNetCancelConnection2 and
WNetAddConnection2, but these seem to be very flakey with drive
disconnection (The drive conenction seems to be pretty good).
I would have through that Microsocft would have provided a simple class you
can call to take care of mapping network drives etc, but so far i have only
found API calls as the way to do this.
Has any one got a rock solid stable way to connect and disconnect network
drives in vb.net?
many thanks
Sparky.