Is there anyway for a new thread to interact with my original form. For example
That code does not write the message to the txtbox but it does show all the message boxes so i know it is getting to that code.Code:Sub createhoneypots() Dim honeylisten As New System.Threading.Thread(AddressOf Module1.honeylisten) honeypot = New System.Net.Sockets.TcpListener(System.Net.IPAddress.Any, 2999) honeylisten.Start() End Sub Sub honeylisten() MsgBox("") Try honeypot.Start() MsgBox("") Form1.txthresults.Text = Form1.txthresults.Text & "Honeypot Succesfully Created on port: 2999" & vbNewLine honeypot.AcceptTcpClient() Catch ex As Exception MsgBox(ex.Message) End Try End Sub




Reply With Quote