Jaruzel.com

Copy and Paste Text to the Windows Clipboard


'
'Get/Set(Copy/Paste) text to the Windows Clipboard.
'
My.Computer.Clipboard.SetText("This is my text", TextDataFormat.Text)

MsgBox(My.Computer.Clipboard.GetText(TextDataFormat.Text))