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

Where can I get updated VB and other Microsoft files?

976


Which type of object requires this object?

1511


How would you add elements in TreevieW Control.

1534


What are the properties of datacontrol?

1534


How can I create a VBX?

1105






What is the use of ActiveX Documents?

1943


What is the use of Imagelist Controls ?

1466


What are the different procedures associated with the object?

607


How much gain in performance will I get if I write my number crunching routines in C instead of Visual Basic?

917


What type of databases you can access through ADO Data Access Object?

1429


What is the use of Tabledef?

1563


what are the Types of LockEdits in RDO?

1563


what is use of book mark in excel ? send answer in my id ashishpal11@rediffmail.com

1741


What is the current version of Visual Basic for Windows?

1125


___,_____ and ____ container objects.

1054