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 dao in visual basic?

0 Answers  


Hi, I am USINg QTP tool for automation. Where VB Script have to use. I want to read a row from the table present in .Doc File and to paste in excel. Could you please assist me or give me the code to get it. I am new in this technology.

0 Answers   Accenture,


Draw Sequence Modal of RDO? Explain.

0 Answers  


How to down load image properties.

0 Answers  


What are the scope of the class?

0 Answers  






what are the Differences between variables defined as public in a standard module (.bas) file and a Class file?

2 Answers   CTS, Technocrats,


Difference between DDE and OLE.

0 Answers  


what component is used in vb to link to the database?

2 Answers   Satyam,


What is MAPI ?

2 Answers  


How would you run your ActiveX Document Dll?

0 Answers  


Explain the usage of Web Browser Control?

0 Answers  


What are different types of locks in ADODB?

4 Answers  


Categories