My company recently changed from Netware 3.12 to 5.1. Under 3.12 we had a program (written in an older version, not sure which, of VB) that went out to each of our file servers (about 35), retrieved a .rpt file, and copied the info into an excel spreadsheet. Now that we're under 5.1, whenever this program is run it will not connect to any of the servers, just kicks out our unable to connect message. I really think the problem lies in the command used to connect to the drive, but have gone through doc on 3.12 and 5.1, and cannot find any changes that would cause this problem. The function used to connect is:
Function MapDrive(strShare)
On Error Resume Next
Net.MapNetworkDrive "N:", "\\" & strShare & "\SYS",
false, "Guest"
MapDrive = Err.Number = 0 'return true if successful
End Function
Any help on why this is not working on 5.1 and suggestions on how to fix would be greatly appreciated. If you need more code (up to and including the whole thing as it's only three pages long), just let me know.
Function MapDrive(strShare)
On Error Resume Next
Net.MapNetworkDrive "N:", "\\" & strShare & "\SYS",
false, "Guest"
MapDrive = Err.Number = 0 'return true if successful
End Function
Any help on why this is not working on 5.1 and suggestions on how to fix would be greatly appreciated. If you need more code (up to and including the whole thing as it's only three pages long), just let me know.