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

Is it possible to Manipulate data through flexgrid? Explain.

0 Answers  


How do I use GetPrivateProfileString to read from INI files?

0 Answers  


It possible to call OLEDB?s Features directly in VB without using any control?

0 Answers  


what is the Property used to add a menus at runtime?

0 Answers  


How many ways we can access file using VB?

0 Answers  






What is ADO? What are its objects ?

1 Answers  


What does Addressof operator do?

1 Answers  


What is the difference between Single and Double in VB?

4 Answers  


What are the different types of Dialog Box?

2 Answers   Apollo, ATTC,


How will you define a function to accept optional arguments?

1 Answers  


Explain Default cursor Type and LockEdits type in RDO

2 Answers  


How can you Navigate from the DHTML application to another DHTML application? .

0 Answers  


Categories