开发者

How to access a control in another c# applications?

开发者 https://www.devze.com 2023-02-02 13:00 出处:网络
Is there a way to let me get the tag attribute of one TreeNode object in another c# application? It is easy to get the handle of the T开发者_运维百科reeNode, but how to continue?

Is there a way to let me get the tag attribute of one TreeNode object in another c# application?

It is easy to get the handle of the T开发者_运维百科reeNode, but how to continue?

Thanks


No, without cooperation from the Application with the TreeView it is not possible.

The Tag property is part of the managed class that is attached to the TreeNode-control. You can only get at the Win32 part of the control when you have the handle. The managed part is in an address-space where you have no access.


Expose a WCF service or a remoting service from one application, if possible.

0

精彩评论

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