|
Map Drives to Novell Netware or MS NT Servers
| Version Compatibility: |
Visual Basic 6
|
More information: First off I'd like to say I'm not trying to take credit for this code, I had found 2 sections of code, 1 allowed mapping to a NT server, the other allowed mapping to a Netware server. It was cumbersome and confusing to have to call seperate APIs based upon what type of server I was trying to map a drive to, so I added to 2 code sections together, made them a Class Module, then added a little error handling. NOTE: The Netware connection will connect as the current user, the NT code requires a username and password. For my purposes I set the code to login as administrator, but you could easily change this to any user, or even prompt the user for username and password prior to mapping a drive. This code has been viewed 68232 times. Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents. code/MapDrive.zip
|