Hi all
I'm trying to create an application that sends a Msgbox over the network to another computer. I have the entire network displayed in a treeview and the IP of every computer in a listbox. What I can't get done, is to send the actual message.
The message is typed in a Richtextbox (RTB).
Ive tried this:
Code Snippet
PrivateSub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If MaskedTextBox2.Text <> ""And RTB.Text <> ""Then
Shell(
"net send "& TreeView1.SelectedNode.Text & " "& RTB.Text)RTB.Text =
""RTB.Focus()
EndIfEndSub
But it doesn't work...
Anyone know how to do this?