Hi
Thanks, but none of them worked. Is that because I changed the code to this?
Code Snippet
Dim p As New Process
p.StartInfo.FileName = "c:\windows\system32\net.exe"
p.StartInfo.Arguments = "send " & Listbox1.selecteditem & RTB.text
p.Start()
End Sub
And
Process.Start("c:\windows\system32\net.exe", "send " & Listbox1.selecteditem & RTB.text
NOTE: Instead of radiobuttons that I used earlier, I use a Treeview, and the listbox is where IP's comes up. The RTB is a Richtextbox.
What is supposed to happen in the application: The user sends a msgbox through the network by pressing a button. the destination of the message is desided from the selected item of the Listbox. The msgbox text = RTB.text.