I like to do the same thing using the windows API.
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
TextBox1.Text = System.Windows.Forms.Clipboard.GetText
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
System.Windows.Forms.Clipboard.SetText(TextBox1.Text)
End Sub
I looked here: http://www.pinvoke.net/default.aspx/user32/GetClipboardData.html but I am not so sure how to use it and also how to set the text to the clipboard. Anyone who can help me out?