How can you save and Get data from Clipboard?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is executenonquery in vb net?

715


what is the Difference between Tabletype and Snapshot?

1730


What are the Internet tools available in VB 6.0?

2595


What is ODBC Direct and Microsoft Jet Database Engine ?

1695


What are the new events in textbox that has been included in VB ?

1562


Give brief description about class?

1659


How do I make my applications screen-resolution independent?

1218


How would you convert a form into document?

1830


What language does visual basic use?

716


What is the use of debug Window?

1811


What are the types of line styles available in Treeview Control?

2132


What is vbs file?

761


DHTML Is used for what?

1593


How do I create a new form in visual basic?

751


How do I access C style strings?

1196