See this article here on CodeProject on how to Map Network Drives from code,
Map Network Drive (API)[
^]
It is in C#, but you should be able to understand it and convert to VB.net quite easily.
In general though, to access network resources and read/write files direct from shares etc. You need to use the
NetworkCredential
class.