Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Mar 13th, 2007, 5:11 AM   #1
demon101
Hobbyist Programmer
 
demon101's Avatar
 
Join Date: Mar 2006
Location: westboro, ohio
Posts: 159
Rep Power: 0 demon101 is an unknown quantity at this point
Send a message via Yahoo to demon101
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
Attached Files
File Type: zip Chat Client.zip (11.9 KB, 21 views)
__________________
Demon101 Production's

Code Forums
demon101 is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:07 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC