1
Programming / Re: [Source/Tutorial] Remote Desktop Viewer [VB.Net]
« on: November 14, 2013, 15:01 »
i try this code but i need to have 12 clients and view each clients desktop to one server form..
this is the flow that i want:
1. open server
2. once client pc is opened it automatically connect to server
3. then accept client 1 then view its desktop to picturebox 1
4. then client 2 to picturebox 2
5. client 3 to picture box 3 and so on,..
i try to do this but its not working
if clients.ipaddress="127.0.0.1" then
While clients.Connected = True
ns = client1.GetStream
PictureBox1.Image = bf.Deserialize(ns)
End While
else if clients.ipaddress="192.168.10.25" then
While clients.Connected = True
ns = clients.GetStream
PictureBox2.Image = bf.Deserialize(ns)
end while
else if clients.ipaddress="102.168.10.34" then
While clients.Connected = True
ns = clients.GetStream
PictureBox3.Image = bf.Deserialize(ns)
end while
end if.
i will make all clients ip static so the server can identify which client will getstream to a specif picture box..
i badly need your help..i hope you can reply as soon as possible..thanks in advance
this is the flow that i want:
1. open server
2. once client pc is opened it automatically connect to server
3. then accept client 1 then view its desktop to picturebox 1
4. then client 2 to picturebox 2
5. client 3 to picture box 3 and so on,..
i try to do this but its not working
if clients.ipaddress="127.0.0.1" then
While clients.Connected = True
ns = client1.GetStream
PictureBox1.Image = bf.Deserialize(ns)
End While
else if clients.ipaddress="192.168.10.25" then
While clients.Connected = True
ns = clients.GetStream
PictureBox2.Image = bf.Deserialize(ns)
end while
else if clients.ipaddress="102.168.10.34" then
While clients.Connected = True
ns = clients.GetStream
PictureBox3.Image = bf.Deserialize(ns)
end while
end if.
i will make all clients ip static so the server can identify which client will getstream to a specif picture box..
i badly need your help..i hope you can reply as soon as possible..thanks in advance