scusami per il post provvederò ad attenermi al regolamento ^_^...
Cmq dopo aver avviato sia il server che il client sulla stessa macchina mi da un'errore a questa stringa in rosso
codice:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Static Stat As Boolean
If Stat = False Then
If Len(IPBox.Text) > 0 And Len(PortaBox.Text) > 0 Then
wskclient.Connect(IPBox, Val(PortaBox)) -- Mi dice che "ArgumentException non è stata gestita -- Impossibile convertire l'argomento 'Expression' nel tipo 'TextBox'.
Button1.Text = "Disconnetti"
Stat = True
Label3.Text = "Connettendo"
Else
MsgBox("Dati mancanti!", vbExclamation)
End If
Else
wskclient.Close()
Stat = False
Label3.Text = "Chiudendo"
Button1.Text = "Connetti"
End If
End Sub
ho capito che non può convertire giusto? come posso fare a risolverlo??