Using the clipboard is very simple. There are four basic methods you will
use.
For working with text, those methods are SetText and GetText, and for
binary data,
SetData and GetData. SetText and GetText are the easiest of the
two. The following
example copies a simple string to the clipboard, then
puts that clipboard text into
a text box.
Clipboard.SetText "Hello
World"
MyTextBox.Text = Clipboard.GetText
Working with binary data is
a bit more complicated, because the clipboard can support
different data
formats. Consult the Visual Basic Help files on the two topics, SetData
and
GetData, for an overview of use of the clipboard for working with binary
data.