VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Simple Code to Map a Network Drive

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

Rate Simple Code to Map a Network Drive



'[email protected]

'Main Coding

WNetAddConnection "\\Node2\c","","H:"

'Description
'Here \\Node2\c is the name of the network path
'H: is the Drive Letter


Download this snippet    Add to My Saved Code

Simple Code to Map a Network Drive Comments

No comments have been posted about Simple Code to Map a Network Drive. Why not be the first to post a comment about Simple Code to Map a Network Drive.

Post your comment

Subject:
Message:
0/1000 characters