Rather than post a lot of code I'll tell you that you need to use the
Windows API functions WNetAddConnection, WNetCancelConnection and
WNetGetConnection. If you really want the code let me know and I'll send it.
"Rob Tomson" wrote in message
news:f11fc8e.-1@WebX.maYIadrTaRb...
> how do i map a network drive using vb6 and vb.net?
>
> thanks
> Rob
>
>