Click here to Skip to main content
15,563,053 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have Created on windows application in C#.net, but when I try to paste in the text box through keyboard, it doesn't paste the data.
Posted

Is there any data on your clipboard?
Is it text?
Open Notepad or similar, and try to paste there. Does that work?
Cut some text from notepad. Does that paste?

If not, what are you actually doing to paste the data in? Do you trap any key events?

Please reply by changing your original question to include details, or by commenting on this reply to say "yes, there is data" etc.
 
Share this answer
 
There are various programs and sequences of user actions that seem to clear the clipboard which makes a subsequent paste fail.

For example: if I copy text in a file editor and then go to Outlook and reply to a message, I cannot paste the copied data into the new message because the clipboard is now empty.

So, I have to start the reply, THEN copy the data, and THEN paste works.

This could be your problem too.
 
Share 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