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

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

VB6 - sending message to another PC

Reply to Message Icon

Name: sthchris
Date: January 6, 2005 at 00:34:49 Pacific
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!



Sponsored Link
Ads by Google

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

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.


0

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

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!


0

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

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!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







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


Sponsored links

Ads by Google


Results for: VB6 - sending message to another PC

can a socket send datagram to another .. www.computing.net/answers/programming/can-a-socket-send-datagram-to-another-/102.html

1 Comp To Another On LAN C Programming www.computing.net/answers/programming/1-comp-to-another-on-lan-c-programming/1026.html

Select file and move to another pc www.computing.net/answers/programming/select-file-and-move-to-another-pc/17166.html