如何在vb.net中使用剪贴板? [英] how can i use the clipboard in vb.net?

查看:292
本文介绍了如何在vb.net中使用剪贴板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我如何在vb.net中使用剪贴板?

Hello, how can i use the clipboard in vb.net?

推荐答案

如果它确实是剪贴板,而实际上VB.NET则不是一个好选择的想法.基于Web的应用程序无法访问客户端"剪贴板-只有一个服务器剪贴板,因此使用它会产生无法预料的结果,具体取决于其他情况.

如果这是某种形式的Windows应用程序,则只需使用剪贴板类 [^ ]
If it is really the clipboard, and really VB.NET it is not a good idea at all. Web based apps do not have any access to the Client clipboard - and there is only the one server clipboard so using that will produce unpredictable results depending on what else is going on.

If this is a Windows app of some form, then just use the Clipboard class[^]


这篇关于如何在vb.net中使用剪贴板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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