Hi NorwegianProgrammer,
You need to start Messenger service in the source and target commputer to implement this. Try the following code snippet.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim p As New Process
p.StartInfo.FileName = "c:\windows\system32\net.exe"
p.StartInfo.Arguments = "send " & "xxx.xxx.xxx.xxx " & " Tom Zh is a good engineer"
p.Start()
End Sub
or:
Process.Start("c:\windows\system32\net.exe", "send " & "xxx.xxx.xxx.xxx " & " Tom Zh is a good engineer")
Best regards,
Riquel
You need to start Messenger service in the source and target commputer to implement this. Try the following code snippet.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim p As New Process
p.StartInfo.FileName = "c:\windows\system32\net.exe"
p.StartInfo.Arguments = "send " & "xxx.xxx.xxx.xxx " & " Tom Zh is a good engineer"
p.Start()
End Sub
or:
Process.Start("c:\windows\system32\net.exe", "send " & "xxx.xxx.xxx.xxx " & " Tom Zh is a good engineer")
Best regards,
Riquel