Important alert: (current site time 7/16/2013 3:44:47 AM EDT)
 

winzip icon

Mike's Chat v1.0

Email
Submitted on: 4/16/2000 5:07:50 AM
By: Michael L. Canejo  
Level: Intermediate
User Rating: By 15 Users
Compatibility: VB 5.0, VB 6.0
Views: 23517
author picture
(About the author)
 
     This is a basic Server/Client Chat made using Winsock and the UDB Protocal. The chat is in Rich Text so it looks just like an AOL chat and it also has Sounds when chatting. If the Client/Server closes the program, the other side gets an error saying so. This is so you don't talk to your self..heh All the client's Nicknames get logged into a ListBox and if they leave the room, their name gets removed from the chat listbox. I also included a "Boot Ip" for the server so he/she can boot someone in the chat that is acting up. Check this example out and RATE it! :P

Contact me at
AIM: Mike3dd

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 45 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
4/16/2000 10:52:09 AMSensi Cola

Wow. Im gunna quit AOL now that I have this...LoL
nice code mike
(If this comment was disrespectful, please report it.)

 
4/16/2000 9:55:18 PMICERAPIDS

ok this looks like a good chat example.. but it keeps asking for a "Replace" Sub or Function. cauz it wont start.. without it.
(If this comment was disrespectful, please report it.)

 
4/17/2000 4:16:39 PMOne

wassup mike,
this is adam NOT chris. lol
good code really.
keep it up
(If this comment was disrespectful, please report it.)

 
4/18/2000 9:40:28 PMTyler Robbins

nice coding mike

(If this comment was disrespectful, please report it.)

 
4/30/2000 11:31:24 PMMexie

i like the coding..but couldn't get it to work...had to do some work..to get the server side working...and still can't get the client side working..maybe i'm dumb..dunno...
(If this comment was disrespectful, please report it.)

 
5/2/2000 11:06:32 PMMike Canejo

Remember that the client must press the Connect button before the Server does to activate the Connection.

-Mike
(If this comment was disrespectful, please report it.)

 
5/8/2000 6:38:13 PMSparky

Nice.
(If this comment was disrespectful, please report it.)

 
5/9/2000 4:27:58 PMJeffm

Neat program... the code is REALLY unreadable though...no indentations, no line breaks... nothing... you don't make it easy to figure out what's going on here! Sorry buddy.
(If this comment was disrespectful, please report it.)

 
5/9/2000 4:29:27 PMJeffM

Dude. Nice program, but the code is REALLY difficult to read. There are ne indentations on your conditionals, and you've extensively used the ":" when you should have just used line breaks!!! Sorry buddy...
(If this comment was disrespectful, please report it.)

 
5/23/2000 7:13:25 AMNeil Ramsbottom


To the guy complaining about the Replace() function

It is a VB6 function. I have written a VB5 equivilent and will post it on my website tonight (GMT).

www.geocities.com/nramsbottom
(If this comment was disrespectful, please report it.)

 
5/24/2000 2:26:07 PMMatt

I keep getting a Sub or Function error on the Replace command and i keep getting a licensing error when i try to load the richtx32.ocx file .. plz help
(If this comment was disrespectful, please report it.)

 
5/26/2000 11:54:00 AMMatt

is there any way to make this able to support multiple users ?
(If this comment was disrespectful, please report it.)

 
7/11/2000 5:06:34 PMSukh

When you get an error for the replace function its probably cause you ain't got VB6 - Try a replace function replacement :) from PSC.
(If this comment was disrespectful, please report it.)

 
7/25/2003 8:08:49 AM

Nice work. I found when developing my chat program it is best to go for a TCP protocol. That wat you can tell when someone leaves the conversation without exiting the program (blackout lol) well the only thing I used UDP was to locate down the TCP servers on the LAN. We can talk if you like add me at king_scott_2@hotmail.com
(If this comment was disrespectful, please report it.)

 
3/26/2006 3:03:39 PMnijas

goood
(If this comment was disrespectful, please report it.)

 
11/9/2006 5:12:56 AM_Sonic_

looks nice and nice coding but it doesnt connect for me.i tried a lot but all i get is connecting.No error nuffin.Did i forgot something?
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.