Hello,
I assume in this bit of your details -
> ' Grab S/N -- Most params can be NULL
Call GetVolumeInformation( _
sDrive, vbNullString, 0, GetSerialNumber, _
ByVal 0&, ByVal 0&, vbNullString, 0)
End Function
the code is actually calling the windows API GetVolumeInformation function in kernel32. If you're not familiar with this, you'll probably see something like the following, in the middle of a line very near the top of the page -
GetVolumeInformation Lib "kernel32"
If so, you are not actually getting the hard drive serial number but the volume serial number. I.e. it changes if the drive is formatted. Anyhow, I guess this isn't causing you any problems so the distinction doesn't really matter.
The (volume) serial number is available from a network drive (a path like \\machineB\share, hence why looking for \\ in sDrive), which is how I assume Machine A is connecting to Machine B. I just gave this a try over here and I found for unc paths, GetVolumeInformation doesn't return anything. It does work fine if I map that same unc path to a drive letter. I guess this is what you are seeing.
This shouldn't be that difficult to fix.