|
Hai All
I try to connecting visual basic with twido bt ethernet, i wrote this on button connect : Do While ((Timer < StartTime + 2) And (Winsock1.State <> 7)) DoEvents Loop
If (Winsock1.State = 7) Then txtStatus.Text = "Connected" txtStatus.BackColor = &HFF00& Else txtStatus.Text = "Can't connect to " + txtIP.Text txtStatus.BackColor = &HFF End If
But the winsock1.state = 6 or 9 ... How could i changed it to 7 for connected? Please send me a real sample code... Thank you somuch
Regards'
May Nur
|