如何在Windows的复制/粘贴中保留变量(CTRL + C在代码中为变量)

问题描述 投票:0回答:1

我想在vb.net程序中的CTRL + C中复制变量的值。执行完程序后,如果在记事本中按CTRL + V,我想查看在程序中复制的变量的值。

根据示例,程序将为:

Private Sub Program()
    Dim var1 = "I'm a variable"
    CP(var1) 'Here CP is a function which represents the function which copy the value of a variable in CTRL+C

End Sub

因此,搜索“ CP”是否存在功能

如果有人可以帮助我...谢谢

vb.net copy copy-paste
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.