![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Hobbyist Programmer
|
problem with my chat client
i am having trouble with my chat client it is coming up and saying unsupported variant type.
so here is my code i have. Private Sub bntSend_Click() On Error GoTo t sock1.SendData txtSend txtLog = txtLog & "Client : " & txtSend & vbCrLf Exit Sub t: MsgBox "Error : " & Err.Description sock1_Close End Sub that is the code that is causing the problem. it is the code that sends the text you typed to the other person and that is when the error comes up and when the error comes up it disconnects you from the server. when you open the client program the ip and port in there is the server i have for the program to run on or you could open the server program and use your computer as the server. and this is coded in visual basics 6 here is the download too for the server and client |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Networkprogramming in Unix | Xyhm | C | 2 | Mar 18th, 2006 1:35 PM |
| Problem with FTP server/client | Brent | C++ | 0 | Nov 25th, 2005 11:50 AM |
| invalid literal problem driving me nuts | cypherkronis | Python | 5 | Jul 3rd, 2005 1:03 PM |
| Try capturing client text crashed!? | Kam | C++ | 0 | May 19th, 2005 1:31 AM |
| Freezing Applets | Mjordan2nd | Java | 6 | Apr 13th, 2005 5:07 AM |