消息发送代码 [英] message send code

查看:179
本文介绍了消息发送代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Windows Messenger服务,使用您的代码与其他PC通信会更容易.....所以我们不必完成设置接收的其余工作等等


任何人都可以指导如何编写代码只是为了向另一台机器发送消息 - 类似于net send ...


我不想使用现有的netapi32.dll或其他任何东西。


谢谢专家

Using Windows messenger service, would it be easier to communicate with some other PC using your code..... so that we dont have to do the rest of the work of setting receiving end up, etc

can anyone guide how to write a code just simply to send a message to another machine - similar to net send...

I dont want to use existing netapi32.dll or anything else.

Thanks experts

推荐答案

net send [ip address] [message]是命令用于通过Windows Messenger服务发送警报消息的行语法。但是,出于安全原因,大多数机器已将其关闭。 Call Shell()函数允许你使用命令行。
net send [ip address] [message] is the command line syntax for sending an alerter message over the windows messenger service. However, most machines have this turned off for security reasons. The Call Shell() function will allow you to use command line.



使用Windows messenger服务,与某些人沟通会更容易吗?其他PC使用你的代码.....这样我们就不必完成设置接收的其余工作了等等


任何人都可以指导如何编写代码只是发送消息到另一台机器 - 类似于网络发送...


我不想使用现有的netapi32.dll或其他任何东西。


谢谢专家
Using Windows messenger service, would it be easier to communicate with some other PC using your code..... so that we dont have to do the rest of the work of setting receiving end up, etc

can anyone guide how to write a code just simply to send a message to another machine - similar to net send...

I dont want to use existing netapi32.dll or anything else.

Thanks experts



您可以使用:


Shell(" c:\windows \ system32) \ net发送<计算机名称> hi")


You may use this:

Shell ("c:\windows\system32\net send <computer name> hi")


家伙


i请求帮助编写类似于VBA中的net send的程序! !


guys

i have requested help in writing a program similar to net send in VBA !!



您可以使用:


Shell(" c:\ windows \system32 \ net发送& lt;计算机名称> hi")
You may use this:

Shell ("c:\windows\system32\net send <computer name> hi")


这篇关于消息发送代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆