How can you save and Get data from Clipboard?

Answer Posted / ksantosha

Saving Data in Clipboard using Vb.
Fortext

Clipboard.Clear 'First u have to clear the clipboard
Clipboard.SetText Text1.Text 'Set the text into Clipboard

For Image

Clipboard.Clear
Clipboard.SetData Image1.Picture

To Get Data from Clipboard

Text1.text = Clipboard.gettext
Image1.picture = clipboard.getdata

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I call help files from a VB program?

1009


which property of menu cannot be set at run time.

1513


Explain about literals?

567


Is the Variant type slower than using other variable types?

1114


what are the Parts of ODBC?

1423






what are the Types of cursors in RDO?

1875


What are the scope of the class?

1547


How do you avoid the "Invalid use of null" error when reading null values from a database?

1128


What is controls in vb?

542


How many ways you can access file using VB?

579


How do I dial a phone number without using the MSCOMM VBX?

1272


What are the uses of List View Control?

1451


Types of DBCombo boxes

1591


What is the use of Scalewidth and ScaleHeight Proeperty?

1469


Explain the types of Views in Listview Control.

2315