• how to use NET SEND in VB (VB6)

    Author
    Topic
    #420429

    Hi
    i try to use the net send command from vb as below but it didnt work,
    can anyone guide me the correct syntax.

    Dim sentmsg as string
    sentmsg = shell(“net send 20.195.132.87 TESTING SENT”,vbNormalFocus)

    Thanks
    Gan

    Viewing 1 reply thread
    Author
    Replies
    • #952074

      The Shell command does not return the output of the command — it returns the command’s PID.

    • #952107

      I think this is related to another thread that you started. Please keep closely related posts in the same thread so that people jumping in can see the history of the project.

    Viewing 1 reply thread
    Reply To: how to use NET SEND in VB (VB6)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: