Remote Desktop Controlling
Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
You might want to check you can access the port you are running the server on.
what tha.... in visual basic ? great !
Sub acc(ByVal iar As IAsyncResult)
Dim listener As Socket = iar.AsyncState
If stopping Then
Return 'stops crashing after clicking stop
End If
Dim incoming As Socket = listener.EndAccept(iar)
buffers.Add("")
clients.Add(incoming)
ListView1.Items.Add(New ListViewItem(New String() {incoming.RemoteEndPoint.ToString(), ""}))
Try
incoming.BeginReceive(data, 0, data.Length, SocketFlags.None, New AsyncCallback(AddressOf br), incoming)
Catch ex As Exception
End Try
listener.BeginAccept(New AsyncCallback(AddressOf acc), listener)
End Sub
thid error occus in it any suggestions
Cross-thread operation not valid: Control 'ListView1' accessed from a thread other than the thread it was created on.
Dim listener As Socket = iar.AsyncState
If stopping Then
Return 'stops crashing after clicking stop
End If
Dim incoming As Socket = listener.EndAccept(iar)
buffers.Add("")
clients.Add(incoming)
ListView1.Items.Add(New ListViewItem(New String() {incoming.RemoteEndPoint.ToString(), ""}))
Try
incoming.BeginReceive(data, 0, data.Length, SocketFlags.None, New AsyncCallback(AddressOf br), incoming)
Catch ex As Exception
End Try
listener.BeginAccept(New AsyncCallback(AddressOf acc), listener)
End Sub
thid error occus in it any suggestions
Cross-thread operation not valid: Control 'ListView1' accessed from a thread other than the thread it was created on.
tom_inc wrote:Hey mandai can you send the whole project with .sln file plzi would call it a solution file not .sln because not every solution would be .sln
Why do you need the whole solution? The 3 needed source files are included in the download.
@tom_inc I updated this to resolve the cross-thread issues.
@tom_inc I updated this to resolve the cross-thread issues.
Last edited by mandai on Thu Dec 29, 2011 11:16 pm, edited 2 times in total.
ok can you give me the code for the YOU-TUbe downloader plz and file tranfer from client to server??
YouTube downloaders aren't really my thing, though I did make a file transfer system some time back - see: viewtopic.php?f=21&t=3530&p=24583#p24583
Copyright Information
Copyright © Codenstuff.com 2020 - 2023