How can you save and Get data from Clipboard?



How can you save and Get data from Clipboard?..

Answer / 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

More Visual Basic Interview Questions

CRETE A BACKUP FILE

1 Answers   RRB,


Is it possible to Manipulate data through flexgrid? Explain.

0 Answers  


what are the three main differences between flexgrid control and dbgrid(Data bound Grid) control

1 Answers  


What is the difference between change event in normal combobox and dbcombobox?

0 Answers  


What is the size of the variant data type?

3 Answers  






Types of LockEdits in RDO.

0 Answers  


How do we call MS- Excel in VB?

3 Answers  


How can I call a 'hidden' DOS program from VB?

0 Answers  


How many types of Instantiations are there and what are they?

1 Answers  


What is the difference between queryunload and unload in form?

2 Answers  


How to find the current record position in data control?

0 Answers  


Using which type we can access file line by line?

1 Answers  


Categories