- Feb 19, 2007
- 555
- 2
- 105
Ok im trying to make a program but i have no idea on how to use VB
i got the code ok but its the rest of it lol
anyone help????
Code is here might need debugging
i got the code ok but its the rest of it lol
anyone help????
Code is here might need debugging
Code:
Private Sub Closer_Click()
Winsock1.Close
Winsock2.Close
End
End Sub
Private Sub Opener_Click()
If Text1.Text = "" Then
MsgBox "Please enter a port number"
Else
X = Text1.Text
Z = "127.0.0.1"
Winsock1.LocalPort = X
Winsock1.Listen
Winsock2.Connect Z, X
End If
End Sub
Private Sub Helper_Click()
Form2.Show
End Sub
Last edited:
