Export (0) Print
Expand All

Storing Data to and Reading From the Clipboard 

The My.Computer.Clipboard object provides methods and properties that can be used to interact with the Clipboard, allowing the user to write data to or get data from the Clipboard, as well as to check whether data of a specified format exists on the Clipboard. The Clipboard is a set of functions and messages that enable applications to transfer data. Because all applications have access to the Clipboard, data can be transferred easily between them.

In This Section

How to: Clear the Clipboard in Visual Basic

Demonstrates how to clear the Clipboard.

How to: Read from the Clipboard in Visual Basic

Demonstrates how to read data from the Clipboard.

How to: Determine What Type of File is Stored on the Clipboard in Visual Basic

Demonstrates how to determine what type of data is stored on the Clipboard.

How to: Write to the Clipboard in Visual Basic

Demonstrates how to write data to the Clipboard.

How to: Retrieve an Image from the Clipboard in Visual Basic

Demonstrates how to retrieve an image from the Clipboard.

How to: Save an Audio Stream to the Clipboard in Visual Basic

Demonstrates how to save audio data to the Clipboard.

Reference

My.Computer.Clipboard Object

Describes the My.Computer.Clipboard object and its methods and properties.

Related Sections

Serialization

Describes serialization. A class must be serializable for it to be put on the Clipboard.

Community Additions

ADD
Show:
© 2015 Microsoft