Computing.Net > Forums > Programming > VB6 - sending message to another PC

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

VB6 - sending message to another PC

Reply to Message Icon

Original Message
Name: sthchris
Date: January 6, 2005 at 00:34:49 Pacific
Subject: VB6 - sending message to another PC
OS: Win2K
CPU/Ram: P4/256MB
Comment:

Hi,

I am currently working with a VB6 program which can allow me to send message from one pc to another pc (just like net send), but I dont know the way in doing this. Is there any expert here can help me n provide me the coding (VB6)?

Thanks in advance!


Report Offensive Message For Removal


Response Number 1
Name: egkenny
Date: January 6, 2005 at 18:00:31 Pacific
Reply: (edit)

Your best bet would be to look around the net and look for sample programs. There are several out there. Here is one of them:

Enhancement of Net Send
http://www.freevbcode.com/ShowCode.asp?ID=4237

I tried it on my home network. It works fine with VB6 and Windows XP. Just make sure the "Messenger" service is started on each computer or the program will not work.


Report Offensive Follow Up For Removal

Response Number 2
Name: sthchris
Date: January 7, 2005 at 00:32:07 Pacific
Reply: (edit)

Hi,

Thanks for the info you had provided. But what i wanna here is, for example,

I am running a VB6 program on PC1, when this running-VB6 program reach a certain condition (IF condition = true THEN doing something ..), it will then automatically send a message to another PC (PC name will be depended on the parameter passed in the VB6 program running on PC1).

You get me? Any idea on how to get this done??

Anyone here know, please assist as well.

Thanks in advance!


Report Offensive Follow Up For Removal

Response Number 3
Name: _tyson
Date: January 9, 2005 at 20:22:29 Pacific
Reply: (edit)

Hey,
I dont know much at all but here goes.

if (condition)= true then
Shell("net send "Msg"")
else
(statement)
end if


BUSH
4 MORE WARS!


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software