开发者

vb.net program that generates code and copy it to clipboard

开发者 https://www.devze.com 2022-12-19 19:26 出处:网络
I\'m planning to create a vb.net program that generates mysql codes. Is is 开发者_运维百科possible that after the program has generated the code, it will copy it in to the clipboard immediately? Clipb

I'm planning to create a vb.net program that generates mysql codes. Is is 开发者_运维百科possible that after the program has generated the code, it will copy it in to the clipboard immediately?


Clipboard.SetText("some test")

If this program is command line, you'll need to add a reference to System.Windows.Forms.


yes, you can just use the Clipboard.SetText(text As String) method to do this.


I have just used the same code;

Clipboard.SetText(Password)
0

精彩评论

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