Visual Basic Concepts
Transferring Text and Graphics with the Clipboard Object
The Clipboard object has no properties or events, but it has several methods that allow you to transfer data to and from the environment’s Clipboard. The Clipboard methods fall into three categories. The GetText and SetText methods are used to transfer text. The GetData and SetData methods transfer graphics. The GetFormat and Clear methods work with both text and graphic formats.
To learn more about the Clipboard, see the following topics:
Cutting, Copying, and Pasting Text with the Clipboard Discusses the GetText and SetText methods.
Working with Multiple Formats on the Clipboard Covers the methods that work with data formats other than text.
Checking the Data Formats on the Clipboard Describes using the GetFormat method to determine the format of data on the Clipboard.
For More Information For information about transferring data within your application or between applications, see "OLE Drag and Drop" in "Responding to Mouse and Keyboard Events."