Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help needed to Map a network drive in VB.NET

Status
Not open for further replies.

duckman001

IS-IT--Management
Jan 29, 2002
14
0
0
US
Hey all,
I'm a newbie to the programming world trying to write a winapp that would connect to another box and pull back various files for parsing. I want it to map a network drive to the required directories but I can't find any class or methods that seem to handle that job. In VB 6.0, one of our people once wrote a class that mapped drives by referencing MPR.dll. What's the .NET way? The nearest thing I can find is a WSH MapNetworkDrive method. The various System.IO file and directory class methods understand local drives but seem to have trouble with network drives if they're not already mapped. Any help or direction would be greatly appreciated. Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top