Click here to Skip to main content
15,884,237 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I try this but dont work?

this.ActiveControl.Text = Clipboard.GetText();
Posted
Comments
Maciej Los 18-Apr-13 3:58am    
Don't work is not informative at all ;(
Please, be more specific and provide more details.
WinForms, WebControls, WPF?

Nothing happend, this code dont pase text in box where is mouse pointer
 
Share this answer
 
Comments
Maciej Los 18-Apr-13 4:08am    
Please, don't use "Submit you solution" to post comment, use "Have a Question or Comment" widget or "Reply" widget on the right side of comment.
Please, remove this "answer".
this.ActiveControl.Text = Clipboard.GetText().ToString();

i try this code and i get Clipboard.GetText() in selected text box
 
Share this answer
 
Comments
Maciej Los 18-Apr-13 6:14am    
Please, don't use "Submit you solution" to post comment, use "Have a Question or Comment" widget or "Reply" widget on the right side of comment.
Please, remove this "answer".

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900