开发者

Message.show() on another computer desktop?

There are two computers established communication via a hub.

If MyAPP.exe exist on Computer A, Assume I want to notify a message window (Pop-up window) on Computer B if MyAPP.exe error occurred. Could I show alert message with Message.Sh开发者_如何学Cow() on computer B desktop? I remote computer A with 'Remote Desktop Connection' currently. That's why I want the feature.

Appreciated for your reply and comment.

WindowsXP and C#2.0 used.


You can use the external msg program or net send. The former is part of the Terminal Server suite; the second is built in Windows XP, but was removed in later versions of Windows.

msg username /server:computerA "There was an error!"

You can use Process.Start to run an external program.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜