Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clipboard

Status
Not open for further replies.

gd082

Programmer
Mar 12, 2002
42
BE
How could we transfer data to the clipboard? Thx in advance
 
if what you meant by "clipboard" is the one under :
System.Windows.Forms.Clipboard

then the usage is like this (usage in C#):
object something = "blabla";
// to set
Clipboard.SetDataObject(something, true);

// to get
string somewhat = Clipboard.GetDataObject().GetData(typeof(string)).ToString();

but in web application, i guess u can't use clipboard... except that you want to use your client's clipboard...

if this is the case, then i guess u should attach an activex on your page to use your client's clipboard.

hope this can help you ^0^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top