Can anyone tell how to add a clipboard function in .NET?
Use the Clipboard class.
Good day,iam trying to use the Cipboar function ,but it went no luck
1) i want to use it in webaplication
2) i added System.Windows.Forms;3) Clipboard.SetDataObject(txtDocNumGen, true); it is giving error as
Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on itiam not using any threading.please give me a suggetion.Thanks,raju.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?