by Raghu (22 Submissions)
Category: Windows API Call/Explanation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 30th November 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Simple Code to Map a Network Drive
API Declarations
'WNetAddConnection
'Using the API Viewer
'[email protected]
'Main Coding
WNetAddConnection "\\Node2\c","","H:"
'Description
'Here \\Node2\c is the name of the network path
'H: is the Drive Letter