Sending a MsgBox to a remote computer
Hi, I'm starting off a network chat program
I'm trying to send a msgbox to a remote computer asking if it wants to accept the conection to the chat program
this is the code, there's not much there but hey, gotta start somewhere
Private Sub Form_Load()
Winsock1.RemotePort = 1000
Winsock1.Bind 1000
End Sub
Private Sub cmdCall_Click()
Winsock1.RemoteHost = txtAddress
Winsock1.SendData MsgBox("You are being Called By " & txtName, vbYesNo, "ACCEPT?")
End Sub
Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
Winsock1.GetData
End Sub