How to send a message from VB6
I would like to know if anybody knows haow to send a message from a vb6 application to another pc on the same network.
Thanks
[129 byte] By [
bigpuffo] at [2007-11-11 7:51:20]

# 2 Re: How to send a message from VB6
Use TCP/IP or UDP, or you can use the net send service with windows, but the service much be switched on, on both machines, you can do this by "net start messanger" using the shell command. Best thing to do would be to look into TCP/Ip and create a simple p2p chat system. Then move onto more advanced stuff like multichat using arrays and registering usernames in a database. I made a multi chat program a while a. I'll have a look to see if I still have the source or the exe for you to have a look.
major at 2007-11-11 17:27:25 >

# 3 Re: How to send a message from VB6
major, he wants to send a message, NOT CHAT WITH THE PERSON! :)
Phil, I looked at the code you suggested. Now tell me, what does "Dim cls" do?
L
Laurel at 2007-11-11 17:28:26 >

# 4 Re: How to send a message from VB6
"Dim Cls" declares a variable named Cls of type Variant. Since the Cls variable does not appear to be used anywhere, it essentially does nothing.
# 5 Re: How to send a message from VB6
That's what I thought! I was just checkin' to see if you knew that! :)
So, he was probably taught to close objects when he was through usin' 'em and just got messed up 'cause he wasn't usin' any objects, huh? ;)
Laurel at 2007-11-11 17:30:30 >
