Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Winsock error

Status
Not open for further replies.

DeltaTech

Programmer
Apr 16, 2003
92
MY
Hi
I am getting run time error 10014; Invalid argument when I do this:


Private Sub txtSend_Change()
Windsock1.SendData txtSend.Text
End Sub


I have tried appending combinations of Chr$(13) and chr$(10) but still get the same error. Protocol is UDP
Can anyone help?
Much appreciated
[bigcheeks]
 
Ouch! You got me there, Crystalinity! [ponder] You are quite right, but, that was a typo. [bigcheeks]
 
Have you done anything to the variable type before sending it? Try converting it to a string.
Crystalinity
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top