开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜