Does anyone know how I could use NetBios commands in my code for VB. All I have so far is:
Public Declare Function Netbios Lib "netapi32.dll" Alias "Netbios" (pncb As NCB) As Byte
What should come next in my module?
Printable View
Does anyone know how I could use NetBios commands in my code for VB. All I have so far is:
Public Declare Function Netbios Lib "netapi32.dll" Alias "Netbios" (pncb As NCB) As Byte
What should come next in my module?
what command are you sending?
in dos it would be
nbtstat -a[A] IP
or sending a datagram of somesort
ok, but which command in the NCB stucture. i don't know much about this function, but you could set it up if you knew which constant to send(look it up in MSDN). Then we can design the rest of the code to send that command.