Results 1 to 4 of 4

Thread: Netbios Integration Help

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2001
    Posts
    39

    Exclamation

    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?

  2. #2
    Fanatic Member gwdash's Avatar
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    666
    what command are you sending?
    GWDASH
    [b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]

  3. #3

    Thread Starter
    Member
    Join Date
    Mar 2001
    Posts
    39
    in dos it would be

    nbtstat -a[A] IP

    or sending a datagram of somesort

  4. #4
    Fanatic Member gwdash's Avatar
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    666
    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.
    GWDASH
    [b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width