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

What is the purpose of the AutoRedraw property on a form or container?

3 Answers  


what are the Advantages of disconnected recordsets

1 Answers  


How to change the Mouse Pointer?

2 Answers  


Explain Get, Let, Set Properties?

5 Answers  


what is the Default property of datacontrol ?

2 Answers  






To populate a single column value which dbcontrols you to use?

0 Answers  


Where can I get good up-to-date information about VB?

0 Answers  


___ argument can be used to make a menuitem into bold.

0 Answers  


__ no of controls in form.

0 Answers  


What do you mean by ADO?

1 Answers  


How should dates be implemented so they work with other language and country formats?

0 Answers  


What is rdo in vb?

0 Answers  


Categories