用net send 命令(win2000以上的操作系统)
net send [计算机名] 发送的消息
如
net send dickson 你是谁?
在vb中用API
Private Declare Function WinExec Lib "kernel32" (ByVal lpCmdLine As String, ByVal nCmdShow As Long) As Long
dim hwnd as Integer
hwnd=winexec("net send dickson 你是谁?",0) '0表示窗口最小化
net send [计算机名] 发送的消息
如
net send dickson 你是谁?
在vb中用API
Private Declare Function WinExec Lib "kernel32" (ByVal lpCmdLine As String, ByVal nCmdShow As Long) As Long
dim hwnd as Integer
hwnd=winexec("net send dickson 你是谁?",0) '0表示窗口最小化
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货