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
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)?
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
Summary: Can a socket send datagram to another socket on the same machine? If it can, the only difference of the sockaddr_in will be in the port number, isn't it? ...
Summary: I know this is a rather large request and I will probably be ridiculed by my computing peers but... I would like to make a program using C that will allow a person to type a message into a .txt file a...
Summary: Hi all, I want to make a batch file in for below stated tasks. we have different files which automatically generated by server on a particular location. (time is not fixed when it gets generated) we n...