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

Which controls can not be placed in MDI ?

8 Answers  


What is shortcut menu and explain "The ole control's shortcut menu".

0 Answers  


How to declare Dll Procedure?

1 Answers  


what is the Difference between DDE and OLE?

1 Answers  


What is data binding in vb net?

0 Answers  






which Property is used to count no. of items in a combobox?

1 Answers  


Is it possible to Manipulate data through flexgrid? Explain.

0 Answers  


What is meant by Establish Connection in RDO?

0 Answers  


What is the use of debug Window?

1 Answers  


What is Mask Edit and why it is used?

0 Answers  


what are the Controls which do not have events ?

1 Answers  


Which property of menu cannot be set at run time?

1 Answers  


Categories