|
Private Sub Form_Load()
Text1.Text = Winsock1.LocalIP End Sub Private Sub Text1_Change() If Text1.Text = "127.0.0.1" Or Text1.Text = "0.0.0" _ Or Text1.Text = "0.0.0.0" Then Text1.Text = "" End If End Sub Private Sub Command1_Click() If Text1.Text = "" Then MsgBox "Nessuna Connessione!" Else MsgBox "Connessione Attiva!" End If End Sub |