Displaying 1 result from an estimated 1 matches for "ncb_name".
Did you mean:
nb_name
2007 Aug 21
1
[NetBIOS] Registering new name?
...Send RESET
With ncbInfo
.ncb_command = NCBRESET
End With
bRet = Netbios(ncbInfo)
MsgBox ncbInfo.ncb_retcode, , ncbInfo.ncb_num
'===========2. Register name
sMachine = SERVER_NAME & Chr(3)
With ncbInfo
.ncb_command = NCBADDNAME
.ncb_name = sMachine
'.ncb_lana_num = &H0
End With
bRet = Netbios(ncbInfo)
MsgBox ncbInfo.ncb_retcode, , ncbInfo.ncb_num
'Can't use net send
'C:\>nbtstat -n
'
' FRED <03> UNIQUE Registered
' MY_G...