tags:

views:

26

answers:

2

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?

+3  A: 
Clipboard.SetText("some test")

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

Adam Ruth
A: 

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

msarchet